Member Junction
    Preparing search index...
    ChannelMessageHandler: (message: string) => void | Promise<void>

    Receives a message published on a named channel. May be async; a thrown error or rejected promise is logged and does not stop the other handlers on the channel.

    Type Declaration

      • (message: string): void | Promise<void>
      • Parameters

        • message: string

        Returns void | Promise<void>