ProtoFlux:Updates Or Time Delay With Data: Difference between revisions

From Resonite Wiki
forgot an input on the visual
grammar
Line 17: Line 17:
|}}
|}}


Delay Updates is a ProtoFlux node that will send an impulse out of Next ([[Impulses|Continuation]]) after some time. It will use Updates ([[Type:Int|int]]) updates if provided or Duration (Sudo-Generic) time if provided. It will start the delay after * ([[Impulses#ASync|ASync Call]]) is impulsed. It will carry a value and keep it during the duration of the delay and spit it out after the delay.
Delay Updates is a ProtoFlux node that will send an impulse out of Next ([[Impulses|Continuation]]) after a delay. It will use Updates ([[Type:Int|int]]) updates if provided or Duration (Sudo-Generic) time if provided. It will start the delay after * ([[Impulses#ASync|ASync Call]]) is impulsed. It will carry a value and keep it during the duration of the delay and spit it out after the delay.


TODO: Which time takes priority?
TODO: Which time takes priority?

Revision as of 17:59, 17 February 2024

Delay Updates
*
Next
Updates
OnTriggered
Value
DelayedValue
Duration
Async

Delay Updates is a ProtoFlux node that will send an impulse out of Next (Continuation) after a delay. It will use Updates (int) updates if provided or Duration (Sudo-Generic) time if provided. It will start the delay after * (ASync Call) is impulsed. It will carry a value and keep it during the duration of the delay and spit it out after the delay.

TODO: Which time takes priority?

Inputs

* (ASync Call)

Call to start the delay.

Updates (int)

How many updates to delay for if provided.

Value (Generic)

The value to delay. Can be any type.

Duration (Sudo-Generic)

How long to delay for as a time rather than updates if provided.

If a value other than a TimeSpan is provided, this value will delay it in seconds.

Examples: Float, Double, Int, TimeSpan.

Outputs

Next (Continuation)

Fires after Updates (int) updates has passed or Duration (Sudo-Generic) time after an impulse has been sent to * (ASync Call).

OnTriggered (ASync Call)

fires immediately after * (ASync Call) is called.

DelayedValue (Generic)

Has a value during the Next (Continuation) impulse and outputs the value that was provided to Value (Generic) when * (ASync Call) was impulsed.

Examples