package brr

  1. Overview
  2. Docs
Browser programming toolkit for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

brr-0.0.7.tbz
sha512=4b3d42eb6a32c1d6f1c5ef003f5311b5029156b31f6e51af098b695c769699e0304b66afd2dd574ecf1084e095bbbc4eac552daab083766cd81ed2f1d9897d51

doc/brr/Brr_io/Message/index.html

Module Brr_io.Message

Message events, ports, channels and broadcast channels.

type transfer

The type for objects to transfer.

val transfer : 'a -> transfer

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

type opts

The type for messaging options.

val 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.

module Port : sig ... end

Message ports.

module Channel : sig ... end

Message channels.

module Broadcast_channel : sig ... end

Broadcast channels.

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

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

Events

module Ev : sig ... end

Message events.

OCaml

Innovation. Community. Security.

On This Page
  1. Events