smol-rs / futures-lite

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

Add io::block_on() #16

Closed ghost closed 1 year ago

ghost commented 4 years ago

Since we have future::block_on() and stream::block_on(), it would be nice to also have io::block_on() for consistency.

Kestrer commented 3 years ago

Should this be closed now we have futures_lite::io::BlockOn?

notgull commented 1 year ago

Should this be closed now we have futures_lite::io::BlockOn?

Yes we should