ProtoFlux:Delay: Difference between revisions

From Resonite Wiki
add clarification
AsyncCall not resumption sorry
Line 10: Line 10:
[
[
{"Name": "Next", "Type":"Continuation"},
{"Name": "Next", "Type":"Continuation"},
{"Name": "OnTriggered", "Type":"SyncResumption"}
{"Name": "OnTriggered", "Type":"AsyncCall"}
]
]
|}}
|}}
Line 34: Line 34:
Fires after Duration (Sudo-Generic) time has passed after * ([[Impulses#Async|AsyncCall]]) was called.
Fires after Duration (Sudo-Generic) time has passed after * ([[Impulses#Async|AsyncCall]]) was called.


=== OnTriggered ([[Impulses#Async|SyncResumption]]) ===
=== OnTriggered ([[Impulses#Async|AsyncCall]]) ===


Fires instantly after * ([[Impulses#Async|AsyncCall]]) is called.
Fires instantly after * ([[Impulses#Async|AsyncCall]]) is called.

Revision as of 22:18, 17 February 2024

Delay
*
Next
Duration
OnTriggered
Flow

Delay is a ProtoFlux node that allows for delaying an Async execution for the provided Duration (Sudo-Generic) before continuing.

Inputs

* (AsyncCall)

Start the delay.

Duration (Sudo-Generic)

How long to delay for in seconds or timespan.

Examples: Double, Float, Int and TimeSpan.

Outputs

Next (Continuation)

Fires after Duration (Sudo-Generic) time has passed after * (AsyncCall) was called.

OnTriggered (AsyncCall)

Fires instantly after * (AsyncCall) is called.

Examples