Skip to main content

apply

Function apply 

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

Apply events to the store and publish them; the first error the reducer returned, if any, instead.