Difference between revisions of "Thread:status"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 7: Line 7:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
status = thread:status()
 
status = thread:status()
</source>
+
</syntaxhighlight>
  
 
=== Return values ===
 
=== Return values ===

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