Function dioxus::prelude::use_future[][src]

pub fn use_future<T, F>(
    cx: &'a ScopeState,
    new_fut: impl FnOnce() -> F
) -> &'a UseFuture<T> where
    T: 'static,
    F: 'static + Future<Output = T>,