• Preparing search index...
  • The search index is not available
session-service
  • session-service
  • application/commandHandlers/joinSessionCommandHandler
  • handleJoinSessionCommand

Function handleJoinSessionCommand

  • handleJoinSessionCommand(sessions, command): Promise<JoinSessionResponse>
  • Join Session Command Handler. Joins a user to the specified Session, if existing.

    Parameters

    • sessions: SessionRepository

      Session Repository

    • command: JoinSessionCommand

      Join command

    Returns Promise<JoinSessionResponse>

    A Join Session Response to send back to the client specifying if the command is successfully executed, if the Session with the specified name is not found or the user is already joined to another Session.

    • Defined in application/commandHandlers/joinSessionCommandHandler.ts:29

Settings

Member Visibility
session-service
  • Loading...

Generated using TypeDoc