BroadcastChannel
The BroadcastChannel
interface represents a named channel that any browsing context of a given origin can subscribe to.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays.
Link copied to clipboard
fun <T : Event> when(type: EventType<T>, options: ObservableEventListenerOptions? = definedExternally): Observable<T>