vibe.d beta banner
get vibe.d
0.7.30

Function 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.

Prototype

LockedConnection!Connection lockConnection();
Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.