module documentation

Connection pooling for AsyncConnection.

Function newPool Create a new connection pool that wraps up a callable that can create an AsyncConnection.
Class _ConnectionPool Database engine and connection pool.
Class _PooledConnectionGuard Pooled connection adapter that re-adds itself back to the pool upon commit or rollback, and guards against direct access to the underlying connection, to avoid changing its state behind the back of the ...
def newPool(newConnection: Callable[[], Awaitable[AsyncConnection]], maxIdleConnections: int = 5) -> AsyncConnectable: (source) ΒΆ

Create a new connection pool that wraps up a callable that can create an AsyncConnection.