Functor LablgtkReact.Core


module Core: 
functor (FRP : FRP) ->
functor (M : M) -> sig .. end
Makes a pure data structure usable from imperative events.
Parameters:
FRP : FRP
M : M

type 'a t = 'a LablgtkReact.M.t 
See LablgtkReact.M.t
type 'a action = 'a LablgtkReact.M.action 
See LablgtkReact.M.action
type id 
Unique identifiers for sources; allows checking whether a message has the same emitter as a previous one.
type 'a callback = bool ->
(id * 'a) t ->
'a action -> unit
Type of functions to be called each time the data structure has been updated. The boolean indicates whether the receiver's (the callback's) id is the same as the action source's (iff they have been registered with the same id
type 'a container_link = (id * 'a) t ->
'a action -> unit
Type of functions to be called each time the data structure has been updated and the data structure containing it (if any) (nested data structures) has to be updated.
class ['a] core : ?container_link:'a container_link -> unit -> object .. end