OrbitObserver typedef

OrbitObserver = void Function(OrbitStore store, OrbitMutation mutation)

Called for every mutation, on every store, once registered via Orbit.observe. Gets both the store (already reflecting the new state) and the OrbitMutation describing what happened.

Implementation

typedef OrbitObserver = void Function(OrbitStore store, OrbitMutation mutation);