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