package obatcher
Module type Obatcher.ServiceSource
t represents the underlying service that processes and handles batches of operations as input. Only a single batch is active at any time
cfg represents config variables that you want to expose to users.
'a op represents an single operation on t with the return type 'a.
Source
type wrapped_op = | Mk : 'a op * 'a Picos.Computation.t -> wrapped_op(*
*)wrapped_opbinds the operation on the service with it's corresponding suspended continuation to run after its completion.
run t ops when called on service t, processes all the operations in ops, possibly using parallelism to complete the batch.