ProtoFlux:Start ASync Task: Difference between revisions

From Resonite Wiki
Created Start ASync Task ProtoFlux Node Page, TODO: Why do async tasks fail to start?
 
fix sub title
 
(One intermediate revision by the same user not shown)
Line 33: Line 33:
Fires at the exact same time as TaskStart and fires after * ([[Impulses|Call]]) is called.
Fires at the exact same time as TaskStart and fires after * ([[Impulses|Call]]) is called.


=== OnStarted ([[Impulses|Continuation]]) ===
=== OnFailed ([[Impulses|Continuation]]) ===


Fires after * ([[Impulses|Call]]) was called and the task was not started. (TODO: Why?)
Fires after * ([[Impulses|Call]]) was called and the task was not started. (TODO: Why?)


== Examples ==
== Examples ==
<gallery widths=480px heights=480px>
<gallery widths=480px heights=480px>
File:Protoflux_example_Start_ASync_Task.webp|Start ASync Task being used to start a task for a [[ProtoFlux:Read Cloud Variable|Read Cloud Variable Node]].
File:Protoflux_example_Start_ASync_Task.webp|Start ASync Task being used to start a task for a [[ProtoFlux:Read Cloud Variable|Read Cloud Variable Node]].
</gallery>
</gallery>
[[Category:ProtoFlux:Flow:Async]]

Latest revision as of 18:18, 17 February 2024

Start Async Task
*
TaskStart
OnStarted
OnFailed
Async

Because Async is a complicated subject, please see ASync Tasks For more information on how Async works and how this node can be used.

Start ASync Task is a ProtoFlux node that takes an impulse and starts an Async task.

Inputs

* (Call)

Start an ASync task.

Outputs

TaskStart (AsyncResumption)

Impulses when * (Call) and is a new async task context.

OnStarted (Continuation)

Fires at the exact same time as TaskStart and fires after * (Call) is called.

OnFailed (Continuation)

Fires after * (Call) was called and the task was not started. (TODO: Why?)

Examples