pub type Notify = Arc<dyn Fn() + Send + Sync>;
Called from the reader thread when a message arrives (wake the UI).
pub struct Notify { /* private fields */ }