package caqti
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Unified interface to relational database libraries
Install
dune-project
Dependency
Authors
Maintainers
Sources
caqti-0.10.2.tbz
sha256=d688bd22f6fde5be5a755900545fade0d5fdce6dbcb0b85770d02dad87c41e7c
md5=d18745a703da336054c0d27e78f8be8a
doc/caqti/Caqti_pool/Make/index.html
Module Caqti_pool.MakeSource
Parameters
module System : Caqti_system_sig.SSignature
Source
val create :
?max_size:int ->
?check:('a -> (bool -> unit) -> unit) ->
?validate:('a -> bool System.future) ->
(unit -> ('a, 'e) result System.future) ->
('a -> unit System.future) ->
('a, 'e) t(internal) create alloc free is a pool of resources allocated by alloc and freed by free. This is primarily indented 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)"
>
On This Page