reduct library

Reduct Library.

Classes

Atom<T>
An observable class that stores a single value.
NoValue
No value object.
Reducer
The class responsible for making business decisions to perform actions and modify Atoms;

Constants

noValue → const NoValue
No value instance.

Typedefs

Disposer = void Function()
A callback that can be used to dispose a listener added with Atom.addListener.
ErrorListener = void Function(Object error, StackTrace? stackTrace)
A callback that can be passed to Atom.onError.
Listener<T> = void Function(T value)
A listener that can be added to a Atom using Atom.addListener.

Exceptions / Errors

AtomListenerError
An error thrown when trying to update the value of a Atom, but at least one of the listeners threw.