pub fn spawn_ui_task<Fut>(fut: Fut) -> Task<Fut::Output>where
    Fut: Future + Send + 'static,
    Fut::Output: Send,