this repo has no description
at main 384 B view raw
1type waiter = { 2 promise : string option Eio.Promise.t; 3 resolver : string option Eio.Promise.u; 4} 5 6type t 7 8val create : unit -> t 9val register : t -> seq:int -> waiter 10val complete : t -> seq:int -> payload:string option -> bool 11 12val wait : 13 waiter -> timeout:float -> clock:_ Eio.Time.clock -> string option option 14 15val cancel : t -> seq:int -> unit 16val pending_count : t -> int