scopedInstallFunction
abstract fun scopedInstallFunction(funcSignature: JsString, function: JsFunction): WasmPointer(source)
This works exactly like installFunction() except that the installation is scoped to the current allocation scope and is uninstalled when the current allocation scope is popped. It will throw if no allocation scope is active.