create ASync Sequence ProtoFlux Node Page |
m Yosh moved page ProtoFlux:ASync Sequence to ProtoFlux:Async Sequence: ASync -> Async |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
|Outputs= | |Outputs= | ||
[ | [ | ||
{"Name":"Calls", "Multi": | {"Name":"Calls", "Multi": 3, "Type":"AsyncCall"} | ||
] | ] | ||
|}} | |}} | ||
The '''Async Sequence''' performs each of the provided [[impulses]] in order, waiting for the [[asynchronous context]] of each impulse to finish before executing the next one. | |||
This can be useful for organizational purposes or to avoid code duplication if something needs to be performed after a bunch of branching paths. | |||
== Inputs == | == Inputs == | ||
Line 18: | Line 20: | ||
=== * ([[Impulses#ASync|AsyncCall]]) === | === * ([[Impulses#ASync|AsyncCall]]) === | ||
Start execution of the node. | |||
== Outputs == | == Outputs == | ||
Line 24: | Line 26: | ||
=== Calls (List of [[Impulses#ASync|AsyncCalls]])=== | === Calls (List of [[Impulses#ASync|AsyncCalls]])=== | ||
The list of | The list of impulses to fire in order. The impulses are run in an asynchronous context, and after the context of the impulse finishes, the next impulse is fired. | ||
== Examples == | == Examples == | ||
== See Also == | |||
* [[ProtoFlux:Sequence]] for the synchronous analogue. | |||
[[Category:ProtoFlux:Flow:Async]] |
Latest revision as of 15:20, 13 December 2024
Async Sequence
Calls
+
-
Async
The Async Sequence performs each of the provided impulses in order, waiting for the asynchronous context of each impulse to finish before executing the next one.
This can be useful for organizational purposes or to avoid code duplication if something needs to be performed after a bunch of branching paths.
Inputs
* (AsyncCall)
Start execution of the node.
Outputs
Calls (List of AsyncCalls)
The list of impulses to fire in order. The impulses are run in an asynchronous context, and after the context of the impulse finishes, the next impulse is fired.
Examples
See Also
- ProtoFlux:Sequence for the synchronous analogue.