Object pool.
Create a new pool.
Pool creation options
create
reset
maxSize
Return an object to the pool. If the pool's max size is reached, the object will be discarded.
Object to return
Take an object out of the pool. If the pool is empty, an object will be created.
Pool object
Object pool.