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

AsyncIterator support #43

Closed
maxpain opened this issue Dec 2, 2020 · 1 comment
Closed

AsyncIterator support #43

maxpain opened this issue Dec 2, 2020 · 1 comment

Comments

@maxpain
Copy link
Contributor

maxpain commented Dec 2, 2020

Hello. Is it possible to implement support for AsyncIterators?

@andywer
Copy link
Owner

andywer commented Dec 3, 2020

Hi there!

No, I don't think async iterators would make sense tbh. For this use case here you need something that pings you whenever there's new data.
Iterators (also when async), however, are functions that return more data when you call them.

They need to call you, not the other way around 😉

@andywer andywer closed this as completed Dec 3, 2020
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

2 participants