pluginFunctionRegistry
const pluginFunctionRegistry: Record<number, PluginFunctionHandler> = defaultEngineContext.pluginFunctions;Defined in: packages/engine/src/vm/VMBuiltins.ts:1101
Registry of package-registered functions, indexed by the number pushed as an
operand of OpCode.CALL_PLUGIN.
Functions may return a promise. The orchestrator resolves it and re-executes rather than blocking the VM.
Populated declaratively via IEnginePackage.pluginFunctions at package-registration time. Entries are cleared on unregister.