package caqti-miou

  1. Overview
  2. Docs
Miou support for Caqti

Install

Dune Dependency

Authors

Maintainers

Sources

caqti-v2.2.4.tbz
sha256=b8ea432820154ec095132c4f7b244b06cd8553e0b2035185b844d9c4f30af8bb
sha512=b7e3ad8e6a9b587db2d517e15cd42df2945148f9223b2fa6f4bc2bcdd2709d53549cca4b65e54511d22466e4c9aa7f0b9c17305a07505519d8bf81d95de629b8

doc/caqti-miou.unix/Caqti_miou_unix/System/Pool/index.html

Module System.Pool

type ('a, 'e) t = ('a, 'e) Caqti_platform__Pool.Make(System_core)(Alarm).t
val size : ('a, 'e) t -> int
val use : ?priority:float -> ('a -> ('b, 'e) result System_core.Fiber.t) -> ('a, 'e) t -> ('b, 'e) result System_core.Fiber.t
val drain : ('a, 'e) t -> unit System_core.Fiber.t
val create : ?config:Caqti_pool_config.t -> ?check:('a -> (bool -> unit) -> unit) -> ?validate:('a -> bool System_core.Fiber.t) -> ?log_src:Logs.Src.t -> sw:System_core.Switch.t -> stdenv:System_core.stdenv -> (unit -> ('a, 'e) result System_core.Fiber.t) -> ('a -> unit System_core.Fiber.t) -> ('a, 'e) t
OCaml

Innovation. Community. Security.