Module Lwt_signal


module Lwt_signal: sig .. end
Signals utilities

type notifier 
Type of signal notifiers
val disable : notifier -> unit
disable notif stops the corresponding signal to be monitored
val notify : ('a -> unit) -> 'a React.signal -> notifier
notify f s calls f each time the value of s change
val notify_p : ('a -> unit Lwt.t) -> 'a React.signal -> notifier
notify_p f s is the same as notify except that f x is a thread. Calls to f are made in parallel.
val notify_s : ('a -> unit Lwt.t) -> 'a React.signal -> notifier
notify_s f s is the same as notify except that f x is a thread. Calls to f are serialized.
val always_notify : ('a -> unit) -> 'a React.signal -> unit
Same as notify but does not return a notifier
val always_notify_p : ('a -> unit Lwt.t) -> 'a React.signal -> unit
Same as notify_p but does not return a notifier
val always_notify_s : ('a -> unit Lwt.t) -> 'a React.signal -> unit
Same as notify_s but does not return a notifier