Skip to main content
Module

x/netzo/deno.d.ts>MessageChannel

SDK for Netzo, the open Web platform to unify IoT devices, applications and services.
Go to Latest
class MessageChannel
import { MessageChannel } from "https://deno.land/x/netzo@v0.1.11/deno.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.

Constructors

new
MessageChannel()

Properties

readonly
port1: MessagePort
readonly
port2: MessagePort