Package-level declarations

Types

Link copied to clipboard
open class MessageChannel

This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties.

Link copied to clipboard
open class MessageEvent<out D : JsAny?>(val type: EventType<MessageEvent<D>>, init: MessageEventInit<D> = definedExternally) : Event

A message received by a target object.

Link copied to clipboard
interface MessageEventInit<out D : JsAny?> : EventInit
Link copied to clipboard

Union of:

Link copied to clipboard
Link copied to clipboard

This Channel Messaging API interface 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.