MessageChannel
interface
interface MessageChannelThe MessageChannel interface of the Channel Messaging API allows us to create a new message channel and send data through it via its two MessagePort properties.
variable
var MessageChannel: { … }The MessageChannel interface of the Channel Messaging API allows us to create a new message channel and send data through it via its two MessagePort properties.
Constructors
constructor
new MessageChannel(): MessageChannelProperties
port1
readonly port1: MessagePortport2
readonly port2: MessagePortprototype
readonly prototype: MessageChannel