ProtoFlux:Start ASync Task: Difference between revisions

From Resonite Wiki
category
fix sub title
 
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?)

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