ProtoFlux:Async Dynamic Impulse Receiver With Data: Difference between revisions

From Resonite Wiki
Create ASync Dynamic Impulse Reciever With Value ProtoFlux Node Page
 
cleanup
Line 1: Line 1:
{{#Invoke:ProtoFlux|GenerateUI
{{#Invoke:ProtoFlux|GenerateUI
|Name=ASync Dynamic Impulse Reciever With Value
|Name=Async Dynamic Impulse Receiver With Value
|Category=Async
|Category=Async
|Outputs=
|Outputs=
Line 13: Line 13:
|}}
|}}


Since Dynamic Impulses can be a complex topic, the usage of this node is part of the [[Dynamic Impulses#ASync|Dynamic Impulses Page]].
The '''Async Dynamic Impulse Receiver With Value''' node is the recipient of a [[Dynamic Impulse]] with an associated [[value type]] for an async ProtoFlux [[context]]. Its trigger analogue is the [[Async Dynamic Impulse Trigger With Value]] node.


== Outputs ==
== Outputs ==


=== OnTriggered ([[Impulses|AsyncCall]]) ===  
=== OnTriggered ([[Impulses|AsyncCall]]) ===
Sends an impulse when the node has recieved an impulse with the tag in Tag ([[Type:String|String]]) that has data of the type specified by Value (Generic).
 
Sends an impulse when the node has recieved a dynamic impulse with the specified <code>Tag</code> that has data of the same type as <code>Value</code>.


=== Value (Generic) ===
=== Value (Generic) ===


Will have a value that was sent with the Dynamic Impulse during the impulse from OnTriggered ([[Impulses|AsyncCall]]).
Contains the value sent with the dynamic impulse. Must be a ProtoFlux [[value type]]. Only available during the [[context]] of the <code>OnTriggered</code> impulse.
(So basically this value has nothing except for during the instant moment OnTriggered ([[Impulses|AsyncCall]]) is impulsed)


== Globals ==
== Globals ==
Line 29: Line 29:
=== Tag ([[Type:String|String]]) ===
=== Tag ([[Type:String|String]]) ===


The tag for which to listen for Impulses on. Impulses must also have a data associated with them matching Value (Generic).
The tag to listen for impulses on.


[[Category:ProtoFlux:Flow:Async]]
[[Category:ProtoFlux:Flow:Async]]

Revision as of 17:14, 12 December 2024

Async Dynamic Impulse Receiver With Value
OnTriggered
Value
Tag
null
Async

The Async Dynamic Impulse Receiver With Value node is the recipient of a Dynamic Impulse with an associated value type for an async ProtoFlux context. Its trigger analogue is the Async Dynamic Impulse Trigger With Value node.

Outputs

OnTriggered (AsyncCall)

Sends an impulse when the node has recieved a dynamic impulse with the specified Tag that has data of the same type as Value.

Value (Generic)

Contains the value sent with the dynamic impulse. Must be a ProtoFlux value type. Only available during the context of the OnTriggered impulse.

Globals

Tag (String)

The tag to listen for impulses on.