import { type MessageChannel } from "https://deno.land/x/windmill@v1.298.0/node_modules/evt/lib/types/lib.dom.d.ts";
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.