barrage

A simple async broadcast channel. It is runtime agnostic and can be used from any executor. It can also operate synchronously.

Example

```rust

[tokio::main]

async fn main() { let (tx, rx) = barrage::unbounded(); let rx2 = rx.clone(); tx.sendasync("Hello!").await.unwrap(); asserteq!(rx.recvasync().await, Ok("Hello!")); asserteq!(rx2.recv_async().await, Ok("Hello!")); } ```