BroadcastChannelTransport
Same-origin transport over a real BroadcastChannel.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new BroadcastChannelTransport(name): BroadcastChannelTransport;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
name | string |
Returns
Section titled “Returns”BroadcastChannelTransport
Methods
Section titled “Methods”close()
Section titled “close()”close(): void;Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”post()
Section titled “post()”post(data): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
data | unknown |
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”subscribe()
Section titled “subscribe()”subscribe(listener): () => void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
listener | (data) => void |
Returns
Section titled “Returns”() => void