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__
<languages />
+
'''Available since:''' 2018.10<br/>
'''<translate>Available since</translate>:''' 2018.10<br/>
+
'''Class:''' [[Thread]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Thread|Thread]]<br/>
 
  
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Returns current status of the thread.
+
Returns current status of the thread.
</translate><br/>
+
<syntaxhighlight lang="lua">
<source lang="lua">local status = thread:status()</source>
+
status = thread:status()
 +
</syntaxhighlight>
  
=== <translate>Parameters</translate> ===
+
=== Return values ===
''<translate>none</translate>''<br/>
+
'''status: ''' ''(string)'' current thread status<br/>
=== <translate>Return values</translate> ===
 
'''status: ''' ''(string)'' <translate>Current thread status.</translate><br/>
 
  
 
{{Thread}}
 
{{Thread}}

Latest revision as of 15: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