Difference between revisions of "Thread:sendData"

From GiderosMobile
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> ===

Revision as of 13:39, 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