live_cells_internals library

This library provides internal definitions used by other live cells packages.

Users of the library generally wouldn't import this library unless they are extending live cells with new ValueCell subclasses.

Classes

AutoKey
Provides functionality for automatically generating cell keys
CellKey1<T>
A key which is distinguished from other keys by a single value.
CellKey2<T1, T2>
A key which is distinguished from other keys by two values.
CellKey3<T1, T2, T3>
A key which is distinguished from other keys by three values.
CellKey4<T1, T2, T3, T4>
A key which is distinguished from other keys by four values.
CellKey5<T1, T2, T3, T4, T5>
A key which is distinguished from other keys by five values.
CellObserver
Interface for observing changes to the value of a ValueCell
CellState<T extends StatefulCell>
Holds the state of a StatefulCell.
CellUpdateManager
Provides functionality for managing the cell value update cycle
DefaultCellEqualityFactory
Creates equality comparison cells which compare for equality/inequality using ==/!=
DependentCell<T>
A cell of which the value is dependent on the value of one or more argument cells.
EqualityCellFactory
Defines an interface for creating equality and inequality comparison cells.
MutableDependentCell<T>
Base class for a computational cell which can have its value set.
PersistentStatefulCell<T>
A StatefulCell with a state that is created before the cell has observers.
StatefulCell<T>
A cell with the state managed by a CellState object.

Mixins

ObserverCellState<S extends StatefulCell>
Implements the CellObserver interface for cells of which the value depends on other cells.

Extensions

ComputeArgumentsTracker on ValueCell<T>
Provides static methods for tracking computational cell arguments at runtime.

Typedefs

GenerateCellKey = Object? Function(ValueCell)
Signature of generate cell key function
GenerateWatchKey = Object? Function(CellWatcher)
Signature of function for generating watch function keys

Exceptions / Errors

InactivePersistentStatefulCellError
Represents an attempt to read/write the value of an inactive persistent stateful cell.