Input nodes to react on.
Function to calculate input from output.
Function to calculate input from output.
Emitter emiting events from the computationEvents enum.
Array of all inputEmitters the node has.
Input nodes to react on.
inner property keeping track of the state
Inner property containing the current value of the node.
Handlers to remove on dispose.
Dispose the current node. Each node which extends this class is free to use the active state however it wants.
The BaseComputationNode instance.
Returns the current vaule of the node.
Note: if the state of the node is "dirty" an update will be triggered.
Helper for extracting the "active" flag from the state property.
Sets the dirty state to false.
Trigger an update of the entire node.
Note: the "changed" event won't be emited if the new value is the same as the old one.
Note: the "updated" event will be emited even if the value is the same as the old one.
Note: both the "updated" and "changed" events will be emitted at the same time.
The LazyComputationNode instance.
Generated using TypeDoc
Lazy node for computation graphs.