package caqti
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Unified interface to relational database libraries
Install
dune-project
Dependency
Authors
Maintainers
Sources
caqti-v1.6.0.tbz
sha256=1bf0c0d60547033c10d6148cf5297b25ab66c9a2832b680329df2f3816bc674d
sha512=0b03bd1788d99bbac59679338768a5633ec473346eed333fca4c104bc88f04c24e138af2228fc20dcf295b7106778328d228643ae8235a3f722f54cc69919295
doc/caqti/Caqti_connect/Make_unix/Pool/index.html
Module Make_unix.PoolSource
A pool implementation for the current concurrency library.
Source
val create :
?max_size:int ->
?max_idle_size:int ->
?check:('a -> (bool -> unit) -> unit) ->
?validate:('a -> bool System.future) ->
(unit -> ('a, 'e) result System.future) ->
('a -> unit System.future) ->
('a, 'e) tInternal: create alloc free is a pool of resources allocated by alloc and freed by free. This is primarily intended for implementing the connect_pool functions.
Source
val use :
?priority:float ->
('a -> ('b, 'e) result System.future) ->
('a, 'e) t ->
('b, 'e) result System.futureuse f pool calls f on a resource drawn from pool, handing back the resource to the pool when f exits.
drain pool closes all resources in pool. The pool is still usable, as new resources will be created on demand.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>