A generic object pool utility.

Constructor

new()

Methods

inlineget():T

Get an available item if any is ready to be used or null if none is available.

recycle(item:T):Void

Recycle an existing item so that it can be reused later