future_pubsub
A tokio future based publish-subscribe channel.
For now, this crate provides
- unsync unbounded channel
And does not provide
- unsync bounded channel
- sync unbounded channel
- sync bounded channel
How to use
An usage is almost same with futures::unsync::mpsc::unbounded
.
CAUTION : Every item being passed in need to implement Clone
trait
use unbounded;