Class: Room

Room()

A room for running sessions.

Constructor

new Room()

Source:

Methods

addApp(appId)

Add the app with the given ID to this session.

FUNCTIONALITY:

  • load the given app Session#loadApp
  • add app to this session's apps field.
  • copy app source files Utils#copyFiles.
  • save app and its stages App#saveSelfAndChildren.
  • emit 'sessionAddApp' message.
Parameters:
Name Type Description
appId string

The ID of the app to add to this session.

Source: