Crate nostd_async[][src]

Expand description

Example

let runtime = nostd_async::Runtime::new();

let mut task = nostd_async::Task::new(async {
    println!("Hello World");
    42
});

let handle = task.spawn(&runtime);

assert_eq!(handle.join(), 42);

See more examples in the examples directory

Modules

Structs

A joinable handle for a task.

The asyncronous runtime.

An asyncronous task