class Pool(T)
- Pool(T)
- Reference
- Object
Overview
Generic pool.
It will create N instances that can be checkin then checkout. Trying to checkout an instance from an empty pool will block until another coroutine checkin an instance back, up until a timeout is reached.
Defined in:
lib/pool/src/pool.crtiktok_passport/ext/pool.cr