1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#![no_std]

//!
//! # 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](https://github.com/sammhicks/nostd_async/tree/master/examples)

mod cell;
mod interrupt;
mod linked_list;
mod non_null;
pub mod sync;
mod task;

pub use task::{JoinHandle, Runtime, Task};