Skip to content

ChannelMessaging

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 = private {}

structuredSerializeOptions

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

Record fields

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