ObjectPool

Manages a pool of class instances of type T.

Does not create the items ("new T") internally but receives them as lazy arguments in get().

class ObjectPool : IAggregatePool!(T)(
T
) {}

Members

Functions

resetItem
void resetItem(Item item)

Resets item.

Parameters

T

type stored in pool

Meta