MessageChannel

open external class MessageChannel(source)

This Channel Messaging API interface allows us to create a new message channel and send data through it via its two MessagePort properties.

MDN Reference

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Returns the first MessagePort object.

Link copied to clipboard

Returns the second MessagePort object.