KotlinScriptPool

constructor(size: Int, nullGlobalContext: Boolean)

Parameters

size

the number of KotlinScript instances to create in the pool

nullGlobalContext

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