package bonsai

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Bonsai_introspection_protocol.Rpc_kindSource

Sourcemodule Interval : sig ... end
Sourcetype 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 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 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
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
include Ppx_compare_lib.Equal.S with type t := t
Sourceval equal : t -> t -> bool