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. |
Style - Forgot it was "Call". |
||
(One intermediate revision by the same user not shown) | |||
Line 24: | Line 24: | ||
== Inputs == | == Inputs == | ||
=== * ([[Impulses]]) === | === * ([[Impulses|Call]]) === | ||
Calls to start the async while loop. | Calls to start the async while loop. | ||
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. |
Latest revision as of 03:22, 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
* (Call)
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.