Difference between revisions of "Thread:requestTermination"

From GiderosMobile
(Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' 2018.10<br/> '''<translate>Class</translate>:''' Thread<br/> === <translat...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(3 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>Sets a flag to terminate thread. Check whether the thread needs terminated in the thread
+
Sets a flag to terminate thread.
or it will terminate automatically after a number of Lua instructions.
+
<syntaxhighlight lang="lua">
</translate><br/>
+
thread:requestTermination()
<source lang="lua">thread:requestTermination()</source>
+
</syntaxhighlight>
  
=== <translate>Parameters</translate> ===
+
Checks whether the thread needs terminated in the thread or it will terminate automatically after a number of Lua instructions.
''<translate>none</translate>''<br/>
+
 
=== <translate>Return values</translate> ===
+
{{Thread}}
''<translate>none</translate>''<br/>
 

Latest revision as of 15:33, 13 July 2023

Available since: 2018.10
Class: Thread

Description

Sets a flag to terminate thread.

thread:requestTermination()

Checks whether the thread needs terminated in the thread or it will terminate automatically after a number of Lua instructions.