Thread:execute

From GiderosMobile
Revision as of 15:33, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source>" to "</syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: 2018.10
Class: Thread

Description

Starts/executes the thread if a 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