From wiki.ginstr.com
Jump to: navigation, search
(Execute actions in background thread)
m (formatting)
Line 10: Line 10:
 
===Execute actions in background thread===
 
===Execute actions in background thread===
  
;<code>[gn:act_setAsync]|[ACTION{n}]</code>
+
:;<code>[gn:act_setAsync]|[ACTION{n}]</code>
  
{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
+
:{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
 
|-
 
|-
 
! scope="col" | Parameter
 
! scope="col" | Parameter
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
| [[Action Library|ACTION]]{n}
+
| <code>[[Action Library|ACTION]]{n}</code>
 
| [[Action Library|Actions]] which will be executed in background thread
 
| [[Action Library|Actions]] which will be executed in background thread
 
|-
 
|-
Line 23: Line 23:
  
 
====Example====
 
====Example====
<code>[gn:act_toast]|[TEST]</code> - Action which will be executed in background thread<br><br>
+
:<code>[gn:act_toast]|[TEST]</code> - Action which will be executed in background thread<br>
<code>[gn:act_setAsync]|[[gn:act_toast]|[TEST]]</code>
+
:; ⤷ <code>[gn:act_setAsync]|[[gn:act_toast]|[TEST]]</code>
 
<hr>
 
<hr>

Revision as of 19:36, 12 July 2017

gn:act_setAsync

Description
Action used to execute additional actions in background thread
Action returns
void

Action signatures

Execute actions in background thread

[gn:act_setAsync]|[ACTION{n}]
Parameter Description
ACTION{n} Actions which will be executed in background thread

Example

[gn:act_toast]|[TEST] - Action which will be executed in background thread
[gn:act_setAsync]|[[gn:act_toast]|[TEST]]