Setu-TS
    Preparing search index...

    Type Alias ChannelPublisher

    ChannelPublisher: (name: string, msg: SseMessage) => void

    Forwards a local publish to peers on other replicas.

    Supplied by a ChannelRegistry that was given a backplane. A channel built without one publishes purely in-process, which is the behavior every application had before the backplane existed.

    Type Declaration

      • (name: string, msg: SseMessage): void
      • Parameters

        • name: string

          The channel the message was published to

        • msg: SseMessage

          The message, exactly as handed to publish

        Returns void

    0.2.0