-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Async approach (developer experience) #3
Comments
An async API à la node is surely desirable, especially for i/o intensive operations, though I'd be happy to see it callback-based. Promises can be used on top of that |
For sure we have to embrace the async. IMHO the APIs should be async-first. |
That issue is not about promises not being in good shape for I/O at all, there is literally nothing in that issue about that! |
Sorry looks like I eventually copypasted something wrong. |
It probably originated from this tweet https://twitter.com/mattpodwysocki/status/583332498844696576 the issue is linked with same reasoning there as well. I tried to ask him why he would link it and got no answer. |
@petkaantonov You’re totally right, and it got caught in my short list of references. |
Closing for obsolescence |
There’s a lot of movement about this.
co
approach? nodejs/NG#1 about ES7 async/await-oriented APIs3.0 cancellation overhaul petkaantonov/bluebird#415 about Promises not being a good shape for IOfecth()
not being easily cancellableThe text was updated successfully, but these errors were encountered: