Create Sequence ProtoFlux Node Page |
cleanup |
||
Line 8: | Line 8: | ||
|Outputs= | |Outputs= | ||
[ | [ | ||
{"Name":"Calls", "Multi": | {"Name":"Calls", "Multi": 3, "Type":"Call"} | ||
] | ] | ||
|}} | |}} | ||
The '''Sequence''' node performs each of the provided impulses in order, waiting for the [[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 19: | Line 20: | ||
=== * ([[Impulses|Call]]) === | === * ([[Impulses|Call]]) === | ||
Start the execution of | Start the execution of the node. | ||
== Ouputs == | == Ouputs == | ||
Line 25: | Line 26: | ||
=== Calls (List of [[Impulses|Call]]) === | === Calls (List of [[Impulses|Call]]) === | ||
The list of [[ | The list of [[impulses]] to fire in order. The impulses are run in a synchronous [[context]], and after the context of the impulse finishes, the next impulse is fired. | ||
== Examples == | == Examples == | ||
[[Category:ProtoFlux:Flow]] | [[Category:ProtoFlux:Flow]] |
Revision as of 15:09, 13 December 2024
Sequence
Calls
+
-
Flow
The Sequence node performs each of the provided impulses in order, waiting for the 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
* (Call)
Start the execution of the node.
Ouputs
Calls (List of Call)
The list of impulses to fire in order. The impulses are run in a synchronous context, and after the context of the impulse finishes, the next impulse is fired.