selectNode<T, R> method
Selects a field from node, registering zone auto-subscription.
Implementation
R selectNode<T, R>(ZenithNode<T> node, R Function(T state) selector) {
return selector(node.value);
}
Selects a field from node, registering zone auto-subscription.
R selectNode<T, R>(ZenithNode<T> node, R Function(T state) selector) {
return selector(node.value);
}