[−][src]Function async_spawner::spawn_local
pub fn spawn_local<F, T>(future: F) -> JoinHandle<T>ⓘwhereNotable traits for JoinHandle<T>
impl<T> Future for JoinHandle<T> type Output = T;
F: Future<Output = T> + 'static,
T: Send + 'static,
Spawns a future that doesn't implement Send.
The spawned future will be executed on the same thread that called spawn_local
.