artwrap 0.3.3

Minimal asynchronous smol/wasm wrapper for unified accessing selected primitives.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![feature(current_thread_id)]

pub mod channel {
    pub use async_channel::{Receiver, Sender, bounded, unbounded};
}

#[cfg(not(target_os = "unknown"))]
mod executor;
#[cfg(not(target_os = "unknown"))]
pub use executor::{executor, stats, stats_active, with_main, with_main_async};

mod spawn;
pub use spawn::*;

mod timeout;
pub use timeout::*;