ProtoFlux:Delay With Data

From Resonite Wiki
Revision as of 17:55, 16 February 2024 by 989onan (talk | contribs) (fix example)
Time Delay with Data
*
Next
Value
OnTriggered
Duration
DelayedValue
Flow

Delay is a ProtoFlux node that allows for delaying an Async execution for the provided Duration (Sudo-Generic) before continuing. It will also carry over a Value (Generic) during the delay and output it to DelayedValue (Generic) when Next (Continuation) fires.

Inputs

* (AsyncCall)

Start the delay.

Value (Generic)

The value to delay for Duration (Sudo-Generic) time.

Duration (Sudo-Generic)

How long to delay for in seconds or timespan.

Examples: Double, Float, Int and TimeSpan.

Outputs

Next (Continuation)

Fires after Duration (Sudo-Generic) time has passed after * (AsyncCall) was called. DelayedValue (Generic) during this impulse will have the value of what was put into Value (Generic) when * (AsyncCall) was called.

OnTriggered (SyncResumption)

Fires instantly after * (AsyncCall) is called.

DelayedValue (Generic)

this will have the value of what was put into Value (Generic) when * (AsyncCall) was called during the Next (Continuation) impulse.

Examples