Difference between revisions of "Thread.sendData"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' 2018.10<br/> | |
− | ''' | + | '''Class:''' [[Thread]]<br/> |
− | ''' | ||
− | === | + | === 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. | the next call to fetchData from the main thread. | ||
− | + | <source lang="lua"> | |
− | <source lang="lua">Thread.sendData(...)</source> | + | Thread.sendData(...) |
+ | </source> | ||
− | === | + | === Parameters === |
− | '''...: ''' ''(misc)'' | + | '''...: ''' ''(misc)'' variables to add to send stack<br/> |
− | |||
− | |||
{{Thread}} | {{Thread}} |
Revision as of 04:37, 11 June 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.
Thread.sendData(...)
Parameters
...: (misc) variables to add to send stack