Reactive-Extensions / RxJS

The Reactive Extensions for JavaScript
http://reactivex.io
Other
19.48k stars 2.1k forks source link

add async iterator #1504

Closed zh99998 closed 7 years ago

zh99998 commented 7 years ago

https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-3.html the new Async Iteration syntax is great how about make observables async iteratable? for await (const item of an_observable) { ... }

here is a implement https://gist.github.com/zenparsing/4e65592f184dafc82125

paulpdaniels commented 7 years ago

I think you should have a look at https://github.com/ReactiveX/IxJS. Async iterators might be a better fit there. Additionally this repo is in maintenance mode and will not be accepting new features.