Thread:fetchData

From GiderosMobile

Available since: 2018.10
Class: Thread

Description

Returns any data sent by thread sendData call.

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

Return values

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