ConnectionPool.lockConnection

Retrieves a connection to temporarily associate with the calling fiber.

The returned LockedConnection object uses RAII and reference counting to determine when to unlock the connection.

class ConnectionPool(Connection)
@safe
LockedConnection!Connection
lockConnection
()

Meta