• Preparing search index...
  • The search index is not available
session-service
  • session-service
  • application/commandHandlers/leaveSessionCommandHandler
  • handleLeaveSessionCommand

Function handleLeaveSessionCommand

  • handleLeaveSessionCommand(sessions, command): Promise<LeaveSessionResponse>
  • Leave Session Command Handler. Leaves the user from the Session, if existing.

    Parameters

    • sessions: SessionRepository

      Session Repository

    • command: LeaveSessionCommand

      Leave Session Command

    Returns Promise<LeaveSessionResponse>

    A Leave Session Response to send back to the client if the command is successfully executed.

    • Defined in application/commandHandlers/leaveSessionCommandHandler.ts:13

Settings

Member Visibility
session-service
  • Loading...

Generated using TypeDoc