gpui-base 0.6.0

Behavior, interaction, and infrastructure foundations for GPUI applications.
Documentation
1
2
3
4
5
6
7
//! Cross-platform async channel primitives for native and WASM targets.

#[cfg(not(target_family = "wasm"))]
pub use smol::channel::{Receiver, Sender, unbounded};

#[cfg(target_family = "wasm")]
pub use async_channel::{Receiver, Sender, unbounded};