0.1.4
Factory functions create state functions with the assigned plugins and context
(any?)
the context, used to differentiate factories and nodes
function
:
state
((any | function)?)
function
:
node
Plugins registered to the state.
Used to track which nodes will udpate.
Set of nodes involved in the compute of a node's value.
The identifying symbol for all State functions.
Passed as a value to remove a node's dependencies and fix it's value.
Passed as a value to seal a node's compute.
Inherited from the state function's factory.
(any)
Nodes are stateful variables. Nodes hold values or compute functions. Passing a node a parameter will update the node's value or compute function. Invoking a node function without a parameter will return the node's computed value.
((any | function)?)
function or value
any
:
node or node.value
Used to hold values used by plugins.
Reference to the State function that created the node.
Reference to the symbol common to all nodes.
Context provided by the Factory.
Set of listeners added by node.on().
Set of nodes using this node as a dependency for compute.
Set of nodes this node uses in compute.
Another way to express node.value. Alias of node.toString().
any
:
node.value
Another way to express node.value. Also shows up in console messages next to the 𝑓. Alias of node.valueOf().
any
:
node.value