MessageChannel
This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties.
var MessageChannel: {
prototype: MessageChannel;
new (): MessageChannel;
};§Properties
§
readonly port1: MessagePort
[src]Returns the first MessagePort object.
§
readonly port2: MessagePort
[src]Returns the second MessagePort object.