3 ms·
Yes, but async await isn't really complete without good support for streaming ops and APIs that support them first class. That includes merging streams, canceli
by klabb3 5y ago
Yes, but async await isn't really complete without good support for streaming ops and APIs that support them first class. That includes merging streams, canceling them, etc (kinda like Rx). It probably needs both push and pull streams as well. We're not there yet, so in the meantime we have to use events and event listeners, in addition to async/await. I think that's perfectly fine.
- michaelsbradley 5y agoHave you tried Ix as a complement to Rx? https://github.com/ReactiveX/IxJS https://github.com/ReactiveX/IxJS
- klabb3 5y agoNo I have not, I prefer to go lightweight so good old event listeners are perfectly fine for my purposes. But once you have ubiquitous first class support for async iterables and so on I'm all aboard. I see Rx very much like an experiment that should influence language features and std libs, rather than a standalone framework.