module Task:Swith type value := Task.t
Tasks can only be added. When a new task is submitted by the
users, the task scheduler start managing it. A task can later be
cancelled.
type t
type value
val start : Store.t -> t Lwt.tstart s starts the event scheduler.val stop : t -> unit Lwt.tstop t stops the scheduler t.val list : t -> value listlist t lists the values which are being scheduled.val peek : t -> value optionpeel t picks a value if it is available.val peek_s : t -> value Lwt.tpeek_s t blocks until a value is available.