fix words  | 
				 correct description of how Updates and Duration are handled + fix ASync Call -> Async Call  | 
				||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 15: | Line 15: | ||
|}}  | |}}  | ||
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   | 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 or Duration (Pseudo-generic) time, whichever comes first. It will start the delay after * ([[Impulses#Async|Async Call]]) is impulsed.    | ||
== Inputs ==  | == Inputs ==  | ||
=== * ([[Impulses#  | === * ([[Impulses#Async|Async Call]]) ===  | ||
Call to start the delay.  | Call to start the delay.  | ||
| Line 29: | Line 27: | ||
How many updates to delay for.  | How many updates to delay for.  | ||
=== Duration (  | === Duration (Pseudo-generic) ===  | ||
How long to delay for as a time   | How long to delay for as a time.  | ||
If a value other than a [[Type:TimeSpan|TimeSpan]] is provided, this value will delay it in seconds.  | If a value other than a [[Type:TimeSpan|TimeSpan]] is provided, this value will delay it in seconds.  | ||
| Line 41: | Line 39: | ||
=== Next ([[Impulses|Continuation]]) ===  | === Next ([[Impulses|Continuation]]) ===  | ||
Fires after Updates ([[Type:Int|int]]) updates   | Fires after Updates ([[Type:Int|int]]) updates or Duration (Pseudo-generic) time has passed after an impulse has been sent to * ([[Impulses#Async|Async Call]]).  | ||
=== OnTriggered ([[Impulses#  | === OnTriggered ([[Impulses#Async|Async Call]]) ===  | ||
fires immediately after * ([[Impulses#  | fires immediately after * ([[Impulses#Async|Async Call]]) is called.  | ||
== Examples ==  | == Examples ==  | ||
Latest revision as of 04:13, 20 September 2025
Updates or Time Delay
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 or Duration (Pseudo-generic) time, whichever comes first. It will start the delay after * (Async Call) is impulsed.
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.
If a value other than a TimeSpan is provided, this value will delay it in seconds.
Outputs
Next (Continuation)
Fires after Updates (int) updates or Duration (Pseudo-generic) time has passed 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.