Version 1.3.0
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_event:Events utilitiessig..end
val next : 'a React.event -> 'a Lwt.tnext ev returns the next occurrence of evval from : (unit -> 'a Lwt.t) -> < event : 'a React.event; stop : unit >from f return the event which occurs each time f returns a value. Calls to f are serialised. The stop method stops the monitoring of f.type notifier val disable : notifier -> unitdisable notif stops the corresponding event to be monitoredval notify : ('a -> unit) -> 'a React.event -> notifiernotify f ev calls f x each time ev has a value xval notify_p : ('a -> unit Lwt.t) -> 'a React.event -> notifiernotify_p f ev 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.event -> notifiernotify_s f ev is the same as notify except that f x is a thread. Calls to f are serialized.val always_notify : ('a -> unit) -> 'a React.event -> unitnotify but does not return a notifierval always_notify_p : ('a -> unit Lwt.t) -> 'a React.event -> unitnotify_p but does not return a notifierval always_notify_s : ('a -> unit Lwt.t) -> 'a React.event -> unitnotify_s but does not return a notifier