import { type dom } from "https://deno.land/x/evt@v2.4.22/lib/index.ts";
const { MessageChannel } = dom;
This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties.
Properties
readonly
port1: MessagePortReturns the first MessagePort object.
readonly
port2: MessagePortReturns the second MessagePort object.