IPoolable defines the required properties of an object that is able to be pooled using an object pool.
Table of contents
• objectInPool: boolean
objectInPool is used to mark if the instance of the object is currently pooled.
▸ Free(): void
Free releases an object or it's constituent parts back into any available object pools.
Inherited from: IFreeable
args: any): IPoolable
Recycle is used to reuse an existing object instance, using the arguments provided - similar to a constructor, but must be repeatable.
||any||The arguments to use when recycling the object instance|