Difference between revisions of "Core.asyncCall"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''<translate>Available since</translate>:''' Gideros 2016.06<br/>
 
'''<translate>Available since</translate>:''' Gideros 2016.06<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/Core|Core]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Launch function on separate thread as background task.
 
<translate>Launch function on separate thread as background task.

Revision as of 09:28, 24 August 2018

Available since: Gideros 2016.06
Class: Core

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