Module Brr_io.Message
Message events, ports, channels and broadcast channels.
val transfer : 'a -> Brr_io.Message.transfertransfer v indicates valule v should be transfered, not just cloned, meaning they are no longer usable on the sending side.
val opts :
?target_origin:Jstr.t ->
?transfer:Brr_io.Message.transfer list ->
unit ->
Brr_io.Message.optsopts ~target_origin ~transfer () are messaging options. See here for the semantics of target_origin and transfer.
module Port : sig ... endMessage ports.
module Channel : sig ... endMessage channels.
module Broadcast_channel : sig ... endBroadcast channels.
val window_post : ?opts:Brr_io.Message.opts -> Brr.Window.t -> 'a -> unitwindow_post w v ~opts posts value v to window w with options opts.
Events
module Ev : sig ... endMessage events.