Thread:sendData

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

Available since: 2018.10
Class: Thread

Description

Sends data for retrieval by main thread (only a valid call inside thread function). <syntaxhighlight lang="lua"> Thread.sendData(...) </source>

Adds values onto a stack which are retrieved by the next call to fetchData from the main thread.

Parameters

...: (misc) variables to add to send stack