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.


=== LoopIneration ([[Impulses|Continuation]]) ===
=== LoopIteration ([[Impulses|Continuation]]) ===


Fires for the loop iteration.
Fires for the loop iteration.

Revision as of 02:17, 23 August 2024

This is a custom ProtoFlux node maintained by AmasterAmaster. Contact the creator of the node (not the Dev Team) with any bugs or issues.
This node was created using an in-game system and has no correlation to the Plugin system. Currently, these types of custom nodes are not officially supported by Resonite.
Delay Async While
*
LoopStart
Condition
LoopIteration
DelayDuration
OnTriggered
LoopEnd
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.