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