trampoline_call Synchronous
Protected result tuple; yielding callback is rejected.
Luau
trampoline_call(
callback: Function,
callstack: {CallFrame},
options: TrampolineOptions,
...args: any
) -> (success: boolean, ...results: any)Parameters
| Parameter | Type |
|---|---|
callback | Function |
callstack | {CallFrame} |
options | TrampolineOptions |
...args | any |
Argument fields
Luau
CallFrame = {func: Function, currentline: number}Luau
TrampolineOptions = {script: Instance?, identity: number?, env: Table?, thread: thread?}Returns
(success: boolean, ...results: any)