Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
interface 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.

Properties

readonly
port1: MessagePort
readonly
port2: MessagePort
variable 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.

type

{ readonly prototype: MessageChannel; new (): MessageChannel; }