Skip to content
Thread dispatchOverview

oth.get_root_callback

Provides root callback metadata.

Details#

Returns a callable proxy for the original callback in the current oth dispatch context. Outside that context it returns nil; do not call an unchecked nil result.

Examples#

Example

Luau
local original = oth.get_root_callback()
print(type(original)) -- nil outside an oth callback