Module Rpc_effect_kernel.Where_to_connect

The place that an RPC should be sent.

module Custom : sig ... end
type t = private
  1. | Custom of Custom.t

The place that an RPC should be sent.

t MUST be private, to ensure that all Custom values come through Register or Register1, so we always have a comparison function.

include Ppx_compare_lib.Comparable.S with type t := t
val compare : t -> t -> int
val sexp_of_t : t -> Sexplib0.Sexp.t
include Ppx_compare_lib.Equal.S with type t := t
val equal : t -> t -> bool
module type Registered = sig ... end
module Register () : Registered

Register allows you to use a custom Connector.t. To do so:

module type Registered1 = sig ... end
module Register1 (Arg : sig ... end) : Registered1 with type arg = Arg.t

Register1 is like Register, but takes an argument.