Module type Scheduler.S

module type S = sig .. end
The signature for schedulers.

type t 
The type for schedulers.
type value 
The type of values which are scheduled.
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.