package reactiveData

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module D : DATA

Signature

type 'a data = 'a D.data
type 'a patch = 'a D.patch
type !'a msg =
  1. | Patch of 'a patch
  2. | Set of 'a data
type 'a handle
type 'a t
val empty : 'a t
val make : 'a data -> 'a t * 'a handle
val make_from : 'a data -> 'a msg React.E.t -> 'a t
val const : 'a data -> 'a t
val patch : 'a handle -> 'a patch -> unit
val set : 'a handle -> 'a data -> unit
val map_msg : ('a -> 'b) -> 'a msg -> 'b msg
val map : ('a -> 'b) -> 'a t -> 'b t
val value : 'a t -> 'a data
val fold : ('a -> 'b msg -> 'a) -> 'b t -> 'a -> 'a React.signal
val value_s : 'a t -> 'a data React.S.t
val event : 'a t -> 'a msg React.E.t
OCaml

Innovation. Community. Security.