kithara-platform 0.0.1-alpha2

Cross-platform primitives (sync, time, thread) for native and wasm32.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Cross-platform tokio — real `tokio` on native, WASM shims on `wasm32`.
//!
//! Re-exports everything from `tokio_with_wasm::alias` (which itself gates
//! per platform), with a custom `task` module for Web Worker lifecycle.
//!
//! Usage: `use kithara_platform::tokio;`

pub use tokio_with_wasm::alias::*;

pub mod runtime;
pub mod task;
mod thread_pool;

pub use thread_pool::ensure_thread_pool;