create ASync Sequence ProtoFlux Node Page |
no async context |
||
(3 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 [[async impulses]] in order, waiting for the chain 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 [[async flow]], 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 20:59, 29 January 2025
Async Sequence
Calls
+
-
Async
The Async Sequence performs each of the provided async impulses in order, waiting for the chain 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 async flow, and after the context of the impulse finishes, the next impulse is fired.
Examples
See Also
- ProtoFlux:Sequence for the synchronous analogue.