Function spawn64::spawn_local

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

Runs a Rust Future on the current thread.

§Panics

This function panics if the threshold of 64 concurrent futures is exceeded