ProtoFlux:Delay

From Resonite Wiki
(Redirected from ProtoFlux:Delay (Flow))
Delay
*
Next
Duration
OnTriggered
Flow

Delay is a ProtoFlux node that allows for delaying an Async execution for the provided Duration (Pseudo-generic) before continuing.

Inputs

* (AsyncCall)

Start the delay.

Duration (Pseudo-generic)

How long to delay for in seconds or timespan.

Examples: Double, Float, Int and TimeSpan.

Delays of less than 0.5 milliseconds will be rounded to zero and may cause Resonite to hang if used inside of a loop.

Outputs

Next (Continuation)

Fires on the next game tick once the given duration has passed since the Delay was triggered and OnTriggered has finished. If OnTriggered takes longer than the delay duration to finish, Next will be executed immediately after.

OnTriggered (AsyncCall)

Fires immediately after the Delay is triggered. This impulse chain will block Next, e.g. if it contains another Delay with a higher duration.

Examples