Create Updates Or Time Delay ProtoFlux Node Page |
TODO: Which time takes priority? |
||
Line 15: | Line 15: | ||
|}} | |}} | ||
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. | Delay Updates or Time Delay 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. | ||
TODO: Which time takes priority? | |||
== Inputs == | == Inputs == |
Revision as of 18:04, 17 February 2024
Delay Updates
Async
Delay Updates or Time Delay 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.
TODO: Which time takes priority?
Inputs
* (ASync Call)
Call to start the delay.
Updates (int)
How many updates to delay for.
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.
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.
Examples
-
Updates Or Time Delay being used in a code to reset a value for a visual after a button being pressed and x time passing.