Thread:fetchData

From GiderosMobile
Revision as of 14:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: 2018.10
Class: Thread

Description

Returns any data sent by thread sendData call. <syntaxhighlight lang="lua"> local success, ... = thread:fetchData() </source>

Return values

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