Community ProtoFlux Library/AmasterAmaster/Flow/Async/Delay Async While

From Resonite Wiki
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

* (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.