LevitStateMiddlewareChain class abstract
Internal utility for applying the middleware chain.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
applyGraphChange(
LxReactive computed, List< LxReactive> dependencies) → void - Notifies middlewares of a dependency graph change.
-
applyOnBatch(
dynamic next(), LevitReactiveBatch change) → dynamic Function() -
Applies the
onBatchchain to a batch operation. -
applyOnDispose(
void next(), LxReactive reactive) → void Function() -
Applies the
onDisposechain to a reactive object disposal. -
applyOnInit(
LxReactive reactive) → void - Notifies middlewares of a reactive object initialization.
-
applyOnListenerAdd(
LxReactive reactive, LxListenerContext? context) → void - Notifies middlewares that a listener has been added.
-
applyOnListenerRemove(
LxReactive reactive, LxListenerContext? context) → void - Notifies middlewares that a listener has been removed.
-
applyOnReactiveError(
Object error, StackTrace? stack, LxReactive? context) → void - Notifies middlewares that an error occurred.
-
applyOnSet<
T> (void next(T), LxReactive reactive, LevitReactiveChange< T> change) → void Function(T) -
Applies the
onSetchain to a value mutation.