pub fn ready_as_usize(events: Ready) -> usize