Methods
# inner joinRoomForUser(userId)
Emits a new event that a user joined its room
Parameters:
Name | Type | Description |
---|---|---|
userId |
String | Id of the user for which the room will be joined |
# inner startRobotForUser(userId, robotId)
Emits a new event that a user wants to enqueue a robot instace for execution
Parameters:
Name | Type | Description |
---|---|---|
userId |
String | Id of the user for which the robot will be started |
robotId |
String | Id of the robot which will be started |