ProtoFlux:FireOnLocalChange: Difference between revisions

From Resonite Wiki
overhaul
m fix link
 
Line 14: Line 14:
The '''FireOnLocalChange''' node will [[Type:IExecutionChangeListener`1|listen]] for changes on its input and fire an [[impulse]] whenever the client detects a change in value across [[update|updates]].
The '''FireOnLocalChange''' node will [[Type:IExecutionChangeListener`1|listen]] for changes on its input and fire an [[impulse]] whenever the client detects a change in value across [[update|updates]].


Unlike its [[ProtoFlux:FireOnChange|its non-local equivalent]], every user's client will be listening for changes and fire impulses owned by themselves as opposed to only one user. This is useful when a time-sensitive value is already evaluated locally, making this node work without extra network delay.
Unlike [[ProtoFlux:FireOnChange|its non-local equivalent]], every user's client will be listening for changes and fire impulses owned by themselves as opposed to only one user. This is useful when a time-sensitive value is already evaluated locally, making this node work without extra network delay.


== Inputs ==
== Inputs ==

Latest revision as of 08:50, 19 September 2025

FireOnLocalChange
Value
OnChange
Flow

The FireOnLocalChange node will listen for changes on its input and fire an impulse whenever the client detects a change in value across updates.

Unlike its non-local equivalent, every user's client will be listening for changes and fire impulses owned by themselves as opposed to only one user. This is useful when a time-sensitive value is already evaluated locally, making this node work without extra network delay.

Inputs

Value (Generic)

The value or object that should be listened to for changes.

Outputs

OnChange (Call)

Fires a single impulse owned by the local user whenever the provided input changes value across updates.

See also