module Task:S
with 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.t
start s
starts the event scheduler.val stop : t -> unit Lwt.t
stop t
stops the scheduler t
.val list : t -> value list
list t
lists the values which are being scheduled.val peek : t -> value option
peel t
picks a value if it is available.val peek_s : t -> value Lwt.t
peek_s t
blocks until a value is available.