ComputeArgumentsTracker<T> extension

Provides static methods for tracking computational cell arguments at runtime.

on

Static Methods

computeWithTracker<T>(T fn(), void tracker(ValueCell)) → T

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

Compute a cell value using fn while tracking argument cells using tracker.
trackArgument(ValueCell cell) → void

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

Inform the current argument cell listener that the value of cell was referenced.