Spec-Zone.ru › Deno 1

MessageChannel

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.

class MessageChannel {
constructor();
readonly port1: MessagePort;
readonly port2: MessagePort;
}

Constructors

new MessageChannel()

Properties

port1: MessagePort
port2: MessagePort

© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/MessageChannel

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API