Skip to content

ChannelMessagingAPI

Types

messagePort

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. See MessagePort on MDN

type messagePort = {}

Module

There are methods and helpers defined in MessagePort .

structuredSerializeOptions

type structuredSerializeOptions = {
mutable transfer?: array<Dict.t<string>>,
}

Record fields

transfer
option< array< Dict.t< string > > >