inotify-rs icon indicating copy to clipboard operation
inotify-rs copied to clipboard

Async/Await syntax support

Open thedrow opened this issue 7 years ago • 2 comments

Futures 0.3 will support the Async/Await syntax. One it reaches GA, Tokio will be next. We should investigate what it will require of us to support the new syntax and prepare ourselves for it.

thedrow avatar Sep 25 '18 09:09 thedrow

Seems like 0.3 alpha 3 has a compatibility layer with futures 0.1 that includes Tokio compatibility. Maybe we should try that first?

thedrow avatar Sep 25 '18 09:09 thedrow

Thank you for opening this issue!

I don't have the time to look into it right now (and likely won't have time for a while), but I agree that this is important. I'm happy to assist by reviewing reviewing pull requests or with general feedback.

Side note: There's a problem with the current stream-based API. Something to keep in mind when updating or redesigning the API.

hannobraun avatar Sep 25 '18 12:09 hannobraun

We've had support for async/await for a while now. Closing.

hannobraun avatar May 25 '23 08:05 hannobraun