Difference between revisions of "Thread:sendData"

From GiderosMobile
(Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' 2018.10<br/> '''<translate>Class</translate>:''' Thread<br/> === <translat...")
 
Line 8: Line 8:
 
the next call to fetchData from the main thread.
 
the next call to fetchData from the main thread.
 
</translate><br/>
 
</translate><br/>
<source lang="lua">thread:sendData()</source>
+
<source lang="lua">thread:sendData(...)</source>
  
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
''<translate>none</translate>''<br/>
+
'''...: ''' ''(misc)''  <translate>variables to add to send stack</translate><br/>
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
''<translate>none</translate>''<br/>
 
''<translate>none</translate>''<br/>

Revision as of 14:37, 4 October 2018


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

Return values

none