Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ogone/src/ogone.dom.d.ts>MessageChannel

Advanced Web Composition for Future
Latest
interface MessageChannel
import { type MessageChannel } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";

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

Properties

readonly
port1: MessagePort

Returns the first MessagePort object.

readonly
port2: MessagePort

Returns the second MessagePort object.