class

Pool(T)

Inherits Reference / Object

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.

Instance methods

each_resource
Source