pub fn block_on<T: 'static, F: Future<Output = T> + 'static>(task: F) -> T
Emulates tokio’s block_on call
This will spawn a new tokio runtime on the current thread