Module type EzWsEioTypes.S

type 'a r = ('a, string) Stdlib.result
type 'a action = {
  1. send : 'a -> unit r;
  2. close : int option -> unit r;
}
type 'a ws = {
  1. action : 'a action;
  2. conn : unit r Eio.Promise.t;
}