Difference between revisions of "Thread:status"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| − | + | '''Available since:''' 2018.10<br/> | |
| − | ''' | + | '''Class:''' [[Thread]]<br/> |
| − | ''' | ||
| − | === | + | === Description === |
| − | + | Returns current status of the thread. | |
| − | < | + | <syntaxhighlight lang="lua"> |
| − | + | status = thread:status() | |
| + | </syntaxhighlight> | ||
| − | === | + | === Return values === |
| − | + | '''status: ''' ''(string)'' current thread status<br/> | |
| − | |||
| − | '''status: ''' ''(string)'' | ||
{{Thread}} | {{Thread}} | ||
Latest revision as of 14:33, 13 July 2023
Available since: 2018.10
Class: Thread
Description
Returns current status of the thread.
status = thread:status()
Return values
status: (string) current thread status