Spec-Zone.ru › Haxe JavaScript

MessageChannel

package js.html

Available on js

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.

Documentation MessageChannel by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

  • https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel

Constructor

new()

Throws:

null

DOMError

Variables

read onlyport1:MessagePort

Returns port1 of the channel.

read onlyport2:MessagePort

Returns port2 of the channel.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/MessageChannel.html

Spec-Zone.ru

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