Difference between revisions of "Core.asyncCall"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2016.06<br/> | + | '''<translate>Available since</translate>:''' Gideros 2016.06<br/> |
− | === Description === | + | === <translate>Description</translate> === |
<translate>Launch function on separate thread as background task. | <translate>Launch function on separate thread as background task. | ||
Line 8: | Line 8: | ||
Core.asyncCall(task,parameters) | Core.asyncCall(task,parameters) | ||
</source> | </source> | ||
− | === Parameters === | + | === <translate>Parameters</translate> === |
'''task''': (function) <translate>function to run in background</translate> <br/> | '''task''': (function) <translate>function to run in background</translate> <br/> | ||
'''parameters''': (multiple) <translate>multiple parameters to pass to function</translate> '''optional'''<br/> | '''parameters''': (multiple) <translate>multiple parameters to pass to function</translate> '''optional'''<br/> |
Revision as of 07:28, 24 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