Module Throttle.Sequencer

module Sequencer: sig .. end
A sequencer is a throttle that is:



type 'a t 
val create : ?continue_on_error:bool -> 'a -> 'a t
create a new monitor with the specified initial state
val enqueue : 'a t -> ('a -> 'b Deferred.t) -> 'b Deferred.t
schedule a state-accessing operation
val prior_jobs_done : 'a t -> unit Deferred.t
val num_jobs_waiting_to_start : 'a t -> int