BlueGit

ict rusty-teams

Files

rusty-teams / vendor / gpui-base / src / async_util.rs

async_util.rs

eef6c0a4 History
async_util.rs 250 B Download Raw
1//! Cross-platform async channel primitives for native and WASM targets.
2
3#[cfg(not(target_family = "wasm"))]
4pub use smol::channel::{Receiver, Sender, unbounded};
5
6#[cfg(target_family = "wasm")]
7pub use async_channel::{Receiver, Sender, unbounded};