Liking cljdoc? Tell your friends :D
ClojureScript only.

web.other.MessageChannel

The MessageChannel interface of the Channel Messaging API allows to create a new message channel and send data through it via two web.other.MessagePort properties.

The MessageChannel interface of the Channel Messaging API allows
to create a new message channel and send data through it via
two `web.other.MessagePort` properties.
raw docstring

port1cljs

(port1 this)

Property.

[Read Only]

The port1 read-only property of the web.other.MessageChannel returns the first port of the message channel — the port attached the context that originated the channel.

channel.port1;

See also: https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel/port1

Property.

[Read Only]

The port1 read-only property of the `web.other.MessageChannel`
returns the first port of the message channel — the port attached
the context that originated the channel.

`channel.port1;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel/port1`
sourceraw docstring

port2cljs

(port2 this)

Property.

[Read Only]

The port2 read-only property of the web.other.MessageChannel returns the second port of the message channel — the port attached the context at the other end of the channel, which the message initially sent to.

channel.port2;

See also: https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel/port2

Property.

[Read Only]

The port2 read-only property of the `web.other.MessageChannel`
returns the second port of the message channel — the port attached
the context at the other end of the channel, which the message
initially sent to.

`channel.port2;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel/port2`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close