Difference between revisions of "Thread:fetchData"

From GiderosMobile
(Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' 2018.10<br/> '''<translate>Class</translate>:''' Thread<br/> === <translat...")
 
Line 14: Line 14:
 
'''success: ''' ''(boolean)''  <translate>if there is data to be retrieved</translate><br/>
 
'''success: ''' ''(boolean)''  <translate>if there is data to be retrieved</translate><br/>
 
'''...: ''' ''(misc)''  <translate>any number of arguments provided by sendData calls</translate><br/>
 
'''...: ''' ''(misc)''  <translate>any number of arguments provided by sendData calls</translate><br/>
 +
 +
{{Thread}}

Revision as of 22:58, 11 February 2020


Available since: 2018.10
Class: Thread

Description

Returns any data sent by thread sendData call.

local success, ... = thread:fetchData()

Parameters

none

Return values

success: (boolean) if there is data to be retrieved
...: (misc) any number of arguments provided by sendData calls