pub fn spawn_local<F>(f: F)where F: Future<Output = ()> + 'static,
Spawns a task on current thread.
This function will panic when not being executed from within the Runtime.