• Preparing search index...
  • The search index is not available
session-service
  • session-service
  • application/commandHandlers/chatCommandHandlers
  • handleSendMessageCommand

Function handleSendMessageCommand

  • handleSendMessageCommand(sessions, command): Promise<SendMessageResponse>
  • Send Message Command Handler. If the message is not empty, generates a MessageSentEvent.

    Parameters

    • sessions: SessionRepository

      Session repository

    • command: SendMessageCommand

      Send message command

    Returns Promise<SendMessageResponse>

    A Send Message Response to send back to the client specifying the success/failure

    • Defined in application/commandHandlers/chatCommandHandlers.ts:17

Settings

Member Visibility
session-service
  • Loading...

Generated using TypeDoc