Difference between revisions of "Thread.sendData"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
Line 6: | Line 6: | ||
Sends data for retrieval by main thread (only a valid call inside thread function). Adds values onto a stack which are retrieved by | Sends data for retrieval by main thread (only a valid call inside thread function). Adds values onto a stack which are retrieved by | ||
the next call to fetchData from the main thread. | the next call to fetchData from the main thread. | ||
− | < | + | <syntaxhighlight lang="lua"> |
Thread.sendData(...) | Thread.sendData(...) | ||
</source> | </source> |
Revision as of 14:31, 13 July 2023
Available since: 2018.10
Class: Thread
Description
Sends data for retrieval by main thread (only a valid call inside thread function). Adds values onto a stack which are retrieved by the next call to fetchData from the main thread. <syntaxhighlight lang="lua"> Thread.sendData(...) </source>
Parameters
...: (misc) variables to add to send stack