ckb_async_runtime/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Utilities for tokio runtime.

pub use tokio;
pub use tokio::runtime::Runtime;

#[cfg(not(target_family = "wasm"))]
pub use native::*;

#[cfg(target_family = "wasm")]
pub use browser::*;

#[cfg(target_family = "wasm")]
mod browser;
#[cfg(not(target_family = "wasm"))]
mod native;