finish Delay With Data ProtoFlux Node Page |
Sudo-Generic -> Pseudo-generic |
||
(2 intermediate revisions by one other user not shown) | |||
Line 16: | Line 16: | ||
|}} | |}} | ||
Delay is a ProtoFlux node that allows for delaying an [[Impulses#Async|Async]] execution for the provided Duration ( | Delay With Data is a ProtoFlux node that allows for delaying an [[Impulses#Async|Async]] execution for the provided Duration (Pseudo-generic) before continuing. It will also carry over a Value (Generic) during the delay and output it to DelayedValue (Generic) when Next ([[Impulses|Continuation]]) fires. | ||
== Inputs == | == Inputs == | ||
Line 26: | Line 26: | ||
=== Value (Generic) === | === Value (Generic) === | ||
The value to delay for Duration ( | The value to delay for Duration (Pseudo-generic) time. | ||
=== Duration ( | === Duration (Pseudo-generic) === | ||
How long to delay for in seconds or timespan. | How long to delay for in seconds or timespan. | ||
Line 38: | Line 38: | ||
=== Next ([[Impulses|Continuation]]) === | === Next ([[Impulses|Continuation]]) === | ||
Fires after Duration ( | Fires after Duration (Pseudo-generic) time has passed after * ([[Impulses#Async|AsyncCall]]) was called. DelayedValue (Generic) during this impulse will have the value of what was put into Value (Generic) when * ([[Impulses#Async|AsyncCall]]) was called. | ||
=== OnTriggered ([[Impulses#Async|SyncResumption]]) === | === OnTriggered ([[Impulses#Async|SyncResumption]]) === | ||
Line 51: | Line 51: | ||
<gallery widths=480px heights=480px> | <gallery widths=480px heights=480px> | ||
File:Protoflux_example_Delay.webp|Delay being used as a way to cause something to happen a bit after someone presses a button. | File:Protoflux_example_Delay With Data.webp|Delay With Data being used as a way to cause something to happen a bit after someone presses a button. | ||
</gallery> | </gallery> |
Latest revision as of 18:42, 6 June 2024
Delay With Data is a ProtoFlux node that allows for delaying an Async execution for the provided Duration (Pseudo-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 (Pseudo-generic) time.
Duration (Pseudo-generic)
How long to delay for in seconds or timespan.
Outputs
Next (Continuation)
Fires after Duration (Pseudo-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
-
Delay With Data being used as a way to cause something to happen a bit after someone presses a button.