Thread dispatchOverviewNew · 0.744
isexecutorthread
Describe whether a coroutine has executor-context classification.
Aliases
issynapsethreadDetails#
Checks the module's explicit executor-thread mark on a supplied thread or the current thread. It is not a coroutine liveness test and is distinct from function-origin checks.
Examples#
Example
local thread = coroutine.create(function() end)
print(isexecutorthread(thread))
print(isexecutorthread())