smol-rs / futures-lite

Futures, streams, and async I/O combinators.
Apache License 2.0
439 stars 25 forks source link

Allow a BufReader that wraps an AsyncWrite to be AsyncWrite #41

Closed jbr closed 3 years ago

jbr commented 3 years ago

This allows full-duplex io through the BufReader wrapper without needing to clone an AsyncRead+AsyncWrite or introduce a mutex with io::split

Thanks!