Module Rpc_effect_protocol.Rpc_kind

module Interval : sig ... end
module Polling_state_rpc_interval : sig ... end
type t =
  1. | Normal of {
    1. name : string;
    2. version : int;
    3. interval : Interval.t;
    }
  2. | Babel of {
    1. descriptions : Async_rpc_kernel.Rpc.Description.t Core.Nonempty_list.t;
    2. interval : Interval.t;
    }
  3. | Streamable of {
    1. name : string;
    2. version : int;
    3. interval : Interval.t;
    }
  4. | Polling_state_rpc of {
    1. name : string;
    2. version : int;
    3. interval : Polling_state_rpc_interval.t;
    }
  5. | Babel_polling_state_rpc of {
    1. descriptions : Async_rpc_kernel.Rpc.Description.t Core.Nonempty_list.t;
    2. interval : Polling_state_rpc_interval.t;
    }

Rpc_kind.t's correspond to the different rpc kinds available in Bonsai_web.Rpc_effect.

include Sexplib0.Sexpable.S with type t := t
include Sexplib0.Sexpable.Of_sexp with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
include Sexplib0.Sexpable.Sexp_of with type t := t
val sexp_of_t : t -> Sexplib0.Sexp.t
include Ppx_compare_lib.Equal.S with type t := t
val equal : t -> t -> bool