Community ProtoFlux Library/AmasterAmaster/Flow/Async/Delay Async While: Difference between revisions
From Resonite Wiki
Created a page for the Delay Async While custom node. |
Spellcheck. |
||
Line 42: | Line 42: | ||
Fires when a loop begins. | Fires when a loop begins. | ||
=== | === LoopIteration ([[Impulses|Continuation]]) === | ||
Fires for the loop iteration. | Fires for the loop iteration. |
Revision as of 02:17, 23 August 2024
Delay Async While
Amaster's Flow Library
The Delay Async While node acts like a Async While but with a delay duration input. This allows for code execution that can run on a separate "thread" and prevents lockups on the main one, as well as doing it multiple times using the duration as an interval.
Inputs
* (Impulses)
Calls to start the async while loop.
Condition (bool)
The condition to check if this node should loop.
DelayDuration (float)
How long it should delay for before looping to the next iteration.
Outputs
LoopStart (Continuation)
Fires when a loop begins.
LoopIteration (Continuation)
Fires for the loop iteration.
OnTriggered (Continuation)
Fires when the delay portion has been triggered.
LoopEnd (Continuation)
Fires when the loop ends.