Difference between revisions of "Core.asyncCall"

From GiderosMobile
Line 8: Line 8:
 
  Core.asyncCall(task,parameters)
 
  Core.asyncCall(task,parameters)
 
</source>
 
</source>
'''task''': (function) function to run in background ''''''<br/>
+
=== Parameters ===
 +
'''task''': (function) function to run in background <br/>
 
'''parameters''': (multiple) multiple parameters to pass to function '''optional'''<br/>
 
'''parameters''': (multiple) multiple parameters to pass to function '''optional'''<br/>

Revision as of 10:45, 23 August 2018

Available since: Gideros 2016.06

Description

Launch function on separate thread as background task.

Background threads are only executed when main thread is not running

 Core.asyncCall(task,parameters)

Parameters

task: (function) function to run in background
parameters: (multiple) multiple parameters to pass to function optional