Function ksched::task::run [−][src]
pub fn run()
Expand description
Run until all tasks in default executor are done.
Examples
use ksched::task; task::spawn(async move { println!("hello, world"); }).unwrap(); task::run();
pub fn run()
Run until all tasks in default executor are done.
use ksched::task; task::spawn(async move { println!("hello, world"); }).unwrap(); task::run();