fn persist(events: &[Event], store: &Store) -> Result<(), String>
Writes events through to the store, stopping at the first failure.
events