Function fractal::utils::do_async[][src]

pub fn do_async<R: Send + 'static, F1: Future<Output = R> + Send + 'static, F2: Future<Output = ()> + 'static, FN: FnOnce(R) -> F2 + 'static>(
    priority: Priority,
    tokio_fut: F1,
    glib_closure: FN
)
Expand description

Exexcute a future on a tokio runtime and spawn a future on the local thread to handle the result