package caqti-async

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('a, +'e) t
val create : ?max_size:int -> ?max_idle_size:int -> ?max_use_count:int option -> ?check:('a -> (bool -> unit) -> unit) -> ?validate:('a -> bool Async_kernel.Deferred.t) -> ?log_src:Logs.Src.t -> (unit -> ('a, 'e) Stdlib.result Async_kernel.Deferred.t) -> ('a -> unit Async_kernel.Deferred.t) -> ('a, 'e) t
val size : ('a, 'e) t -> int
val use : ?priority:float -> ('a -> ('b, 'e) Stdlib.result Async_kernel.Deferred.t) -> ('a, 'e) t -> ('b, 'e) Stdlib.result Async_kernel.Deferred.t
val drain : ('a, 'e) t -> unit Async_kernel.Deferred.t
OCaml

Innovation. Community. Security.