Interface BroadcastChannelMessage<Msg, PeerId>

Internal message format for BroadcastChannelMessageBus.

interface BroadcastChannelMessage {
    data?: Msg;
    from: PeerId;
    topic: string;
    type: BroadcastChannelMessageType;
}

Type Parameters

  • Msg

  • PeerId

Properties

Properties

data?: Msg
from: PeerId
topic: string

Generated using TypeDoc