Package-level declarations

Types

Link copied to clipboard
open external 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 external class MessageEvent<out D>(val type: EventType<MessageEvent<D>>, init: MessageEventInit<D> = definedExternally) : Event

A message received by a target object.

Link copied to clipboard
external interface MessageEventInit<out D> : EventInit
Link copied to clipboard
external interface MessageEventSource

Union of:

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.

Functions

Link copied to clipboard