MessagePort
The MessagePort
interface of the Channel Messaging API represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other.
Functions
Link copied to clipboard
Link copied to clipboard
The postMessage()
method of the MessagePort interface sends a message from the port, and optionally, transfers ownership of objects to other browsing contexts.
Link copied to clipboard
fun <T : Event> when(type: EventType<T>, options: ObservableEventListenerOptions? = definedExternally): Observable<T>