Thread dispatchOverview
trampoline_call
Represents a specialized dispatch entry point.
Details#
Calls a function through the thread-dispatch trampoline with the remaining arguments. This is a call operation rather than a hook registration; capture its returned results as for an ordinary function call.
Examples#
Example
local function add(a, b) return a + b end
local ok, result = pcall(trampoline_call, add, 2, 3)
print(ok, result)