Js_of_ocaml.MessageChannelChannel messaging: MessageChannel, MessagePort and MessageEvent.
class type messagePort = object ... endOne of the two endpoints of a messageChannel. Messages posted on one port are delivered to the message listener of the other.
class type messageChannel = object ... endval messageChannel : messageChannel Js.t Js.constrclass type messageEventInit = object ... endInitializer for a Dom_html.messageEvent. All fields are optional; create an empty record with empty_message_event_init and populate the ones you need. The data payload is injected as Js.Unsafe.any; the resulting event is read back at whatever type the caller annotates messageEvent_with_init with.
val empty_message_event_init : unit -> messageEventInit Js.tval messageEvent :
(Js.js_string Js.t -> ('b, 'a) Dom_html.messageEvent Js.t) Js.constrval messageEvent_with_init :
(Js.js_string Js.t ->
messageEventInit Js.t ->
('b, 'a) Dom_html.messageEvent Js.t)
Js.constr