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

Trait to turn paginated APIs into async streams #271

Open
simonsan opened this issue Oct 14, 2022 · 1 comment
Open

Trait to turn paginated APIs into async streams #271

simonsan opened this issue Oct 14, 2022 · 1 comment
Labels
question Further information is requested

Comments

@simonsan
Copy link

'Page_turner' crate helps to abstract away any sort of pagination and allows you to work with such APIs uniformly with the help of async streams. All you need to do is to implement the PageTurner trait.

https://docs.rs/page-turner/latest/page_turner/

Sounds interesting, maybe this could be useful?

@simonsan simonsan added the question Further information is requested label Oct 14, 2022
@Emilgardis
Copy link
Member

That does seem like an easier (read "better") interface than make_stream

I'm not sure it'd work with #114 though

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

No branches or pull requests

2 participants