pub fn subscribe() -> Receiver<CoreEvent>
Subscribe to all events. Returns a receiver that starts with a RecvError::Lagged for any events produced before this subscription.
RecvError::Lagged