pub fn block_on_with_spawn<F: Future>(future: F) -> F::OutputExpand description
Drive future to completion with spawn() available in the async context.
Registers the executor as a thread-local so that spawn() works inside the
future. Clears the thread-local before returning.