1 2 3 4 5 6 7 8 9 10 11
use pasts::Executor; fn main() { Executor::default().block_on(async { Executor::default().block_on(async { println!("Hello from the future running on the inner executor!"); }); println!("Hello from the future running on the outer executor!"); }); }