13 lines
269 B
Markdown
13 lines
269 B
Markdown
## getStatus
|
|
Returns the current thread status
|
|
|
|
#### Returns:
|
|
1. `string` current status - ("running", "normal", "suspended", "dead")
|
|
|
|
#### Usage:
|
|
```lua
|
|
local mainFrame = basalt.createFrame()
|
|
local aThread = mainFrame:addThread()
|
|
basalt.debug(aThread:getStatus())
|
|
```
|