pub fn wake_up_ui_thread_on_each_msg<T: Send + 'static>( rx: Receiver<T>, ctx: Context, ) -> Receiver<T>
This wakes up the ui thread each time we receive a new message.