NodePoolOptions
nodePool’s options.
Type Parameters
Section titled “Type Parameters”T extends Node
Properties
Section titled “Properties”
optionalmax?:number
Most free nodes kept; released ones past it are destroyed. Default: no limit.
reset?
Section titled “reset?”
optionalreset?: (node) =>void
Called on a node as it is released, after the engine reset it: reset what the engine does not (data, children).
Parameters
Section titled “Parameters”T
Returns
Section titled “Returns”void