Thread:requestTermination

From GiderosMobile
Revision as of 15:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: 2018.10
Class: Thread

Description

Sets a flag to terminate thread. <syntaxhighlight lang="lua"> thread:requestTermination() </source>

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