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:

openSession()

Opens session in this room: the participants waiting in it, and those who join later, go
into it, each as the session's participant with their label (see Session#participantForLabel).

Source:

sendToSession()

Sends the page of the room participant label to their participant's page in the open session.

Source:

session()

The session open in this room, if any.

Source: