dwango / fibers-rs

A Rust library to execute a number of lightweight asynchronous tasks (a.k.a, fibers) based on futures and mio.
MIT License
182 stars 11 forks source link

Use `nbchan` crate for non-blocking channels #5

Closed sile closed 6 years ago

sile commented 6 years ago

This PR replaces the internal implementation of the mpsc channels from the standard channels to nbchan. Because nbchan is specialized in non-blocking communications, so it is more suitable for use with fibers.