Pool(T)
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.
Constructors
Instance methods
checkout
Checkout an instance from the pool. Blocks until an instance is available if
all instances are busy. Eventually raises an IO::Timeout error.
start_all
Sourcetimeout
Returns how much time to wait for an instance to be available before raising a Timeout exception.