trampoline_call
Calls a function on a new carrier thread with selected context options.
Identity defaults to 2. Environment replaces the carrier's globals when it is a table. Script binds a valid script container. Success returns true and only the last captured result, if any; failure returns false and an error string. Do not assume full multiple-return forwarding.
trampoline_call(callback: function, context: table, options: table, ...: any): (boolean, any?)Parameters
| Parameter | Type | Description |
|---|---|---|
callback | function | Function to invoke. |
context | table | Required table; the current implementation validates it but does not read its fields. |
options | table | Identity, Environment and Script options. |
... | any | Arguments passed to the callback. |
