package redis-async

  1. Overview
  2. Docs

The role of a Redis node as described by https://redis.io/commands/role/

module Replica : sig ... end
module Leader : sig ... end
module Sentinel : sig ... end
type t =
  1. | Leader of Leader.t
  2. | Replica of Replica.t
  3. | Sentinel of Sentinel.t
val sexp_of_t : t -> Sexplib0.Sexp.t
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t -> t -> int
val of_resp3 : Resp3.t -> t Core.Or_error.t
module For_testing : sig ... end