Skip to main content

apply_events

Function apply_events 

Source
fn apply_events(state: &AppState, events: &[Event]) -> Result<(), String>
Expand description

Writes each event the reducer emitted to the store, stopping at the first failure.