pub type Router = fn(Result<Event, String>) -> Option<Event>;Expand description
Receives each global event (Err names an event whose payload could not be
serialized). Returns the event back when no recording takes it; it then goes where
emit would send it.