ProtoFlux:Updates Or Time Delay: Difference between revisions

From Resonite Wiki
TODO: Which time takes priority?
Sudo-Generic -> Pseudo-generic
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#Invoke:ProtoFlux|GenerateUI
{{#Invoke:ProtoFlux|GenerateUI
|Name=Delay Updates
|Name=Updates or Time Delay
|Category=Async
|Category=Async
|Inputs=
|Inputs=
Line 15: Line 15:
|}}
|}}


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.  
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 (Pseudo-generic) time if provided. It will start the delay after * ([[Impulses#ASync|ASync Call]]) is impulsed.  


TODO: Which time takes priority?  
TODO: Which time takes priority?  
Line 29: Line 29:
How many updates to delay for.
How many updates to delay for.


=== Duration (Sudo-Generic) ===
=== Duration (Pseudo-generic) ===


How long to delay for as a time rather than updates if provided.
How long to delay for as a time rather than updates if provided.
Line 41: Line 41:
=== Next ([[Impulses|Continuation]]) ===
=== Next ([[Impulses|Continuation]]) ===


Fires after Updates ([[Type:Int|int]]) updates has passed or Duration (Sudo-Generic) time after an impulse has been sent to * ([[Impulses#ASync|ASync Call]]).
Fires after Updates ([[Type:Int|int]]) updates has passed or Duration (Pseudo-generic) time after an impulse has been sent to * ([[Impulses#ASync|ASync Call]]).


=== OnTriggered ([[Impulses#ASync|ASync Call]]) ===
=== OnTriggered ([[Impulses#ASync|ASync Call]]) ===

Latest revision as of 18:47, 6 June 2024

Updates or Time Delay
*
Next
Updates
OnTriggered
Duration
Async

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 (Pseudo-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 (Pseudo-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 (Pseudo-generic) time after an impulse has been sent to * (ASync Call).

OnTriggered (ASync Call)

fires immediately after * (ASync Call) is called.

Examples