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

PageIterator<T> should return an IAsyncEnumerable<T> #39

Open
Licantrop0 opened this issue Dec 29, 2020 · 3 comments
Open

PageIterator<T> should return an IAsyncEnumerable<T> #39

Licantrop0 opened this issue Dec 29, 2020 · 3 comments

Comments

@Licantrop0
Copy link
Member

The current PageIterator implementation requires the caller to have a callback function to process the individual items in the list, and it's impossible to use the modern IAsyncEnumerable pattern.

Please provide an overload to the CreatePageIterator function to return an IAsyncEnumerable directly, without requiring the callback.

@nikithauc
Copy link
Contributor

This could be a part of #37.

@vadrsa
Copy link

vadrsa commented Mar 28, 2023

@nikithauc What is the status of this issue? It would be very useful to have.

@Licantrop0
Copy link
Member Author

@maisarissi / @andrueastman do you have an update?

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

3 participants