Version last
This is a preliminary version of the documentation. Help us to improve it by filling tickets. We are looking for native english speakers to proof read the documentation. Contact us!
module Lwt_signal:Signals utilitiessig..end
type notifier val disable : notifier -> unitdisable notif stops the corresponding signal to be monitoredval notify : ('a -> unit) -> 'a React.signal -> notifiernotify f s calls f each time the value of s changeval notify_p : ('a -> unit Lwt.t) -> 'a React.signal -> notifiernotify_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 -> notifiernotify_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 -> unitnotify but does not return a notifierval always_notify_p : ('a -> unit Lwt.t) -> 'a React.signal -> unitnotify_p but does not return a notifierval always_notify_s : ('a -> unit Lwt.t) -> 'a React.signal -> unitnotify_s but does not return a notifier