Swim.Pending_acks
swim · API reference
type waiter = {
promise : string option Eio.Promise.t;
resolver : string option Eio.Promise.u;
}type tval create : unit -> tval register : t -> seq:int -> waiterval complete : t -> seq:int -> payload:string option -> boolval wait :
waiter ->
timeout:float ->
clock:_ Eio.Time.clock ->
string option optionval cancel : t -> seq:int -> unitval pending_count : t -> int