Function dioxus::prelude::use_coroutine[][src]

pub fn use_coroutine<F>(
    cx: &'a ScopeState,
    create_future: impl FnOnce() -> F
) -> CoroutineHandle<'a> where
    F: 'static + Future<Output = ()>,