types library

Classes

Projectable
Store.project interface
Publishable
Store.publish interface
Store
An Store records all events happened in app and acts as the single source of truth.
StoreEventStorage
StoreForEnhancer
Store interface for store enhancers.

Functions

combineStoreEnhancers(List<StoreEnhancer> enhancers) StoreEnhancer
combine multiple store enhancers into one enhancer

Typedefs

Projector<P extends Object>(P prev, List event, Projectable projectable) → P
A Projector calculates view derived from events. prev is nullable Hint: an object with a call() method will also work.
StoreCreator(Iterable<Object> prepublish) StoreForEnhancer
Store creator for middleware.
StoreEnhancer(StoreCreator inner) StoreCreator
StoreEnhancer are called "store enhancer" in Redux. They wrap store and enable features like time travel.
Subscriber() → void
Callback when Store is updated.
Unsubscribe() → void
Stop receiving events