faern / oneshot

Oneshot Rust channel working both in and between sync and async environments
Apache License 2.0
80 stars 9 forks source link

Add async support by implementing Future #3

Closed faern closed 4 years ago

faern commented 4 years ago

The original reason for writing this library was that there were no good oneshot channels that supported communicating between sync and async Rust. The Receiver should implement Future<Output = Result<T, DroppedSenderError>>.

faern commented 4 years ago

Fixed in 61c50bfb01ac64f8e7d49733129e0b5f9d3d663c