Function glory_core::spawn::spawn_local
source · pub fn spawn_local<F>(fut: F)where
F: Future<Output = ()> + 'static,Expand description
Spawns and runs a thread-local Future in a platform-independent way.
This can be used to interface with any async code by spawning a task
to run a Future.