1 2 3 4 5 6 7
let __fut = {{ call_expr }}; let {{ result_var }} = std::thread::spawn(move || { ::tokio::runtime::Builder::new_current_thread() .build() .expect("build alef visitor tokio runtime") .block_on(__fut) }).join().expect("thread panicked");