pub fn revision_of(events: &[Event]) -> Option<Revision>Expand description
Returns the highest event ID among written events, which is the revision a
caller has to see before its own write shows up in a read model, or None
if nothing was written. The order of the events does not matter, and an ID
that is not a revision is skipped.