Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPostMessageSent

Handler for after a message is sent.

Hierarchy

  • IPostMessageSent

Index

Methods

Optional checkPostMessageSent

  • Enables the handler to signal to the Apps framework whether this handler should actually be executed for after the message has been sent.

    Parameters

    • message: IMessage

      The message which was sent

    • read: IRead

      An accessor to the environment

    • http: IHttp

      An accessor to the outside world

    Returns Promise<boolean>

    whether to run the executor function

executePostMessageSent

  • Method called after the message is sent to the other clients.

    Parameters

    • message: IMessage

      The message which was sent

    • read: IRead

      An accessor to the environment

    • http: IHttp

      An accessor to the outside world

    • persistence: IPersistence

      An accessor to the App's persistence

    Returns Promise<void>

Generated using TypeDoc