MessageChannel

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:

Constructor

new ()

Throws:

null DOMError

Variables

read only port1:MessagePort

Returns port1 of the channel.

read only port2:MessagePort

Returns port2 of the channel.

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部