package hiredis

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

A pool is used to access one server using many clients

type t = Client.t Lwt_pool.t
val create : ?port:int -> string -> int -> t

create ~port host n creates a new pool of n clients listening on host:port

val use : t -> (Client.t -> 'a Lwt.t) -> 'a Lwt.t

use pool returns a new client from the pool

OCaml

Innovation. Community. Security.