Community ProtoFlux Library/AmasterAmaster/Flow/Async/Try: Difference between revisions
From Resonite Wiki
Created a page for the Try custom node. |
Style - Forgot it was "Call". |
||
Line 23: | Line 23: | ||
== Inputs == | == Inputs == | ||
=== * ([[Impulses]]) === | === * ([[Impulses|Call]]) === | ||
Calls this node to attempt to run the next group of nodes in this impulse context. | Calls this node to attempt to run the next group of nodes in this impulse context. |
Latest revision as of 03:23, 23 August 2024
Try
Amaster's Flow Library
The Try node takes in an impulse and checks if the next group of nodes will break on execution when running. If it does, then the catch
continuation is fired. When either the try
continuation output or the catch
continuation output is done, the finally
continuation output is fired.
Inputs
* (Call)
Calls this node to attempt to run the next group of nodes in this impulse context.
Outputs
Try (Continuation)
Continues the code from here, and attempts to execute it.
Catch (Continuation)
When there is an issue with the group of nodes in the try
continuation output, this continuation fires and runs the group of nodes in this context instead.
Finally (Continuation)
When either the try
or catch
finishes, this continuation fires.