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