-
Notifications
You must be signed in to change notification settings - Fork 0
API Host ScriptFunctionDelegate
Liu.Yandong.Hanks edited this page Aug 21, 2026
·
3 revisions
Low-level compiled function delegate shape used by advanced host callbacks.
Namespace: AuroraScript.Runtime. Kind: delegate.
Back to .NET Host API Reference
Low-level compiled function delegate shape used by advanced host callbacks.
A minimal use of ScriptFunctionDelegate.
ScriptFunctionDelegate countArguments = (ctx, args) =>
ScriptDatum.FromNumber(args.Length);ScriptDatum Invoke(ScriptContext ctx, Span<ScriptDatum> args)Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ctx |
ScriptContext |
Yes | Current script execution context. |
args |
Span<ScriptDatum> |
Yes | Argument array passed to a script or callback. |
Returns
Returns ScriptDatum.
AuroraScript.JIT 4.0.0 · Documentation Home · Repository · MIT License