The topic identifier type.
The published message type.
The RPC request payload type.
The RPC response payload type.
Creates an actor channel for the current browsing context.
The topic identifier type.
The published message type.
The RPC request payload type.
The RPC response payload type.
Whether at least one RPC-enabled broker is currently available.
Maintains a best-effort connection to a broker while this channel owns the broker URL's Web Lock.
The broker WebSocket URL.
Whether the connection may carry RPC requests.
A promise that settles when connection maintenance stops.
Registers an event listener.
The event type.
The listener to register.
Optionaloptions: boolean | AddEventListenerOptions
The event listener options.
Removes a previously registered event listener.
The event type.
The listener to remove.
Optionaloptions: boolean | EventListenerOptions
The event listener options.
Sends an RPC request to an available RPC-enabled broker.
The request is not queued when no RPC-enabled broker is available.
The request payload.
The identifier assigned to the request.
Subscribes this browsing context to a topic.
Repeated subscriptions to the same topic have no effect.
The topic to subscribe to.
Removes this browsing context's subscription to a topic.
The topic to unsubscribe from.
Coordinates RPC requests and topic messages across the current browsing context, other same-origin browsing contexts, and connected brokers.