Thread dispatchOverview
oth.is_hook_thread
Identifies a thread associated with dispatch interception.
Details#
Returns whether the current execution is inside an oth hook thread. Outside that dispatch context it returns false; this takes no target-function argument.
Examples#
Example
print(oth.is_hook_thread()) -- false outside an oth callback