269 B
269 B
getStatus
Returns the current thread status
Returns:
stringcurrent status - ("running", "normal", "suspended", "dead")
Usage:
local mainFrame = basalt.createFrame()
local aThread = mainFrame:addThread()
basalt.debug(aThread:getStatus())