package brr

  1. Overview
  2. Docs
On This Page
  1. Events
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Brr_io.MessageSource

Message events, ports, channels and broadcast channels.

Sourcetype transfer

The type for objects to transfer.

Sourceval transfer : 'a -> transfer

transfer v indicates valule v should be transfered, not just cloned, meaning they are no longer usable on the sending side.

Sourcetype opts

The type for messaging options.

Sourceval opts : ?target_origin:Jstr.t -> ?transfer:transfer list -> unit -> opts

opts ~target_origin ~transfer () are messaging options. See here for the semantics of target_origin and transfer.

Sourcemodule Port : sig ... end

Message ports.

Sourcemodule Channel : sig ... end

Message channels.

Sourcemodule Broadcast_channel : sig ... end

Broadcast channels.

Sourceval window_post : ?opts:opts -> Brr.Window.t -> 'a -> unit

window_post w v ~opts posts value v to window w with options opts.

Events

Sourcemodule Ev : sig ... end

Message events.

OCaml

Innovation. Community. Security.