createWorkspaceActions_(events, forward) {
    const eventQueue = [];
    events.forEach((event) => {
      eventQueue.push({
        event: event,
        forward: forward,
      });
    });
    return eventQueue;
  }
Create WorkspaceActions from a list of events.
@param {<!Array.<!Object>>} events An array of Blockly Events in JSON format.
@param {boolean} forward Indicates the direction to run an event.
@returns {<Array.<!WorkspaceEvent>>} An array of actions to be performed
on the workspace.
@private