module E:sig..end
include React.E
val with_finaliser : (unit -> unit) -> 'a Lwt_react.event -> 'a Lwt_react.eventwith_finaliser f e returns an event e' which behave as
e, except that f is called when e' is garbage
collected.val next : 'a Lwt_react.event -> 'a Lwt.tnext e returns the next occurrence of eval limit : (unit -> unit Lwt.t) -> 'a Lwt_react.event -> 'a Lwt_react.eventlimit f e limits the rate of e with f.
For example, to limit the rate of an event to 1 per second you
can use: limit (fun () -> Lwt_unix.sleep 1.0) event.
val from : (unit -> 'a Lwt.t) -> 'a Lwt_react.eventfrom f creates an event which occurs each time f ()
returns a value. If f raises an exception, the event is just
stopped.val to_stream : 'a Lwt_react.event -> 'a Lwt_stream.tval of_stream : 'a Lwt_stream.t -> 'a Lwt_react.eventof_stream stream creates an event which occurs each time a
value is available on the stream.val delay : 'a Lwt_react.event Lwt.t -> 'a Lwt_react.eventdelay thread is an event which does not occurs until
thread returns. Then it behaves as the event returned by
thread.val keep : 'a Lwt_react.event -> unitkeep e keeps a reference to e so it will never be garbage
collected.React counterpart,
except that they takes functions that may yield.
As usual the _s suffix is used when calls are serialized, and
the _p suffix is used when they are not.
Note that *_p functions may not preserve event order.
val app_s : ('a -> 'b Lwt.t) Lwt_react.event -> 'a Lwt_react.event -> 'b Lwt_react.eventval app_p : ('a -> 'b Lwt.t) Lwt_react.event -> 'a Lwt_react.event -> 'b Lwt_react.eventval map_s : ('a -> 'b Lwt.t) -> 'a Lwt_react.event -> 'b Lwt_react.eventval map_p : ('a -> 'b Lwt.t) -> 'a Lwt_react.event -> 'b Lwt_react.eventval filter_s : ('a -> bool Lwt.t) -> 'a Lwt_react.event -> 'a Lwt_react.eventval filter_p : ('a -> bool Lwt.t) -> 'a Lwt_react.event -> 'a Lwt_react.eventval fmap_s : ('a -> 'b option Lwt.t) -> 'a Lwt_react.event -> 'b Lwt_react.eventval fmap_p : ('a -> 'b option Lwt.t) -> 'a Lwt_react.event -> 'b Lwt_react.eventval diff_s : ('a -> 'a -> 'b Lwt.t) -> 'a Lwt_react.event -> 'b Lwt_react.eventval accum_s : ('a -> 'a Lwt.t) Lwt_react.event -> 'a -> 'a Lwt_react.eventval fold_s : ('a -> 'b -> 'a Lwt.t) -> 'a -> 'b Lwt_react.event -> 'a Lwt_react.eventval merge_s : ('a -> 'b -> 'a Lwt.t) -> 'a -> 'b Lwt_react.event list -> 'a Lwt_react.eventval run_s : 'a Lwt.t Lwt_react.event -> 'a Lwt_react.eventval run_p : 'a Lwt.t Lwt_react.event -> 'a Lwt_react.event