Skip to content
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

Proposal: Use async iterator instead of observable #13

Open
cmdcolin opened this issue Apr 11, 2019 · 0 comments
Open

Proposal: Use async iterator instead of observable #13

cmdcolin opened this issue Apr 11, 2019 · 0 comments

Comments

@cmdcolin
Copy link
Collaborator

would potentially simplify the API, or at least, some people find the RxJs terminology sort of foreign and this would be native js concepts. note that async iteration is sort of a bleeding edge thing and it also needs to be done carefully.

I tried doing this a little naively but just made a mess of trying to thread generator functions all the way through the code. I think probably that might not be necessary for every function to be a generator, it just needs to generate the promises necessary and stream them in at one location

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant