Difference between revisions of "Thread:status"

From GiderosMobile
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/>
+
<source lang="lua">
<source lang="lua">local status = thread:status()</source>
+
status = thread:status()
 +
</source>
  
=== <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}}

Revision as of 04:52, 11 June 2023

Available since: 2018.10
Class: Thread

Description

Returns current status of the thread.

status = thread:status()

Return values

status: (string) current thread status