Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/ext/web/lib.deno_web.d.ts>MessageChannel

A modern runtime for JavaScript and TypeScript.
Latest
variable MessageChannel
import { MessageChannel } from "https://deno.land/x/deno@v2.0.4/ext/web/lib.deno_web.d.ts";

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; }