ComputeExtension<T> extension

Utility methods for creating new cells by applying functions on their values.

on

Methods

apply<U>(U fn(T value), {dynamic key}) ValueCell<U>
Create a new cell, with a value which is computed by applying a function on this cell's value
mutableApply<U>(U fn(T), void reverse(U), {dynamic key, bool changesOnly = false}) MutableCell<U>
Create a new mutable cell, with a value that is a function of this cell's value.