lux library

Classes

Change<State>
A Change represents the change from one State to another. A Change consists of the currentState and nextState.
Closable
An object that must be closed when no longer in use.
Emittable<V>
An object that can emit new values.
EventStreamableSource<Event>
SelectiveListenable
StateStreamable<State>
A Streamable that provides synchronous access to the current state.
StateStreamableSource<State>
A StateStreamable that must be closed when no longer in use.
Store<State>
StoreBase<State>
Streamable<State>
An object that provides access to a stream of states over time.
Truck<Event>
TruckBase<Event>

Typedefs

EventListener<Event> = FutureOr<void> Function(Event event)