Difference between revisions of "Thread:execute"

From GiderosMobile
(Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' 2018.10<br/> '''<translate>Class</translate>:''' Thread<br/> === <translat...")
 
Line 13: Line 13:
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''ok: ''' ''(boolean)''  <translate>success or failure</translate><br/>
 
'''ok: ''' ''(boolean)''  <translate>success or failure</translate><br/>
 +
 +
{{Thread}}

Revision as of 22:58, 11 February 2020


Available since: 2018.10
Class: Thread

Description

Starts/executes our thread if the function has been set with setFunction and the thread is not currently running.

local ok = thread:execute(vararg)

Parameters

vararg: (...) Arguments for our thread function to process.

Return values

ok: (boolean) success or failure