Optional
Readonly
channelBroadcastChannel to use.
Optional
Readonly
defaultDefault topic name. Defaults to message
.
Optional
Readonly
keepaliveKeepalive message interval in milliseconds. Defaults to DEFAULT_BROADCAST_CHANNEL_MESSAGE_BUS_KEEPALIVE_MS.
Optional
Readonly
monitorSpecifies the interval in milliseconds to monitor peers' subscriptions and emit join / leave events. If set to false or <= 0, peers will not be monitored. Defaults to 1000 (1 second).
Optional
Readonly
nowFunction to get the current epoch timestamp. Defaults to Date.now
.
Readonly
peerPeer ID of this instance.
Generated using TypeDoc
Options for initializing a BroadcastChannelMessageBus