Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MessageChannel

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

interface MessageChannel {
readonly port1: MessagePort;
readonly port2: MessagePort;
}
var MessageChannel: {
prototype: MessageChannel;
new (): MessageChannel;
}
;

§Properties

§
readonly port1: MessagePort
[src]

Returns the first MessagePort object.

§
readonly port2: MessagePort
[src]

Returns the second MessagePort object.