Function relm4::spawn_local

source ·
pub fn spawn_local<F, Out>(func: F) -> JoinHandle<Out>where
    F: Future<Output = Out> + 'static,
    Out: 'static,
Expand description

Spawns a thread-local future on GLib’s executor, for non-Send futures.