AbstractScriptPool

constructor(size: Int, nullGlobalContext: Boolean)

Parameters

size

the number of script instances in the pool

nullGlobalContext

if true, resets the global scope bindings to null when recycling

Type Parameters

T

the concrete type of AbstractScript managed by this pool