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>

Available on ValueCell<T>, provided by the ComputeExtension extension

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>

Available on ValueCell<T>, provided by the ComputeExtension extension

Create a new mutable cell, with a value that is a function of this cell's value.