-
Notifications
You must be signed in to change notification settings - Fork 319
Eliminating locking and improve safety with Pagers, Pollers #3372
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
base: main
Are you sure you want to change the base?
Conversation
|
This is a draft to get some earlier feedback. For now I only changed I'll likely copy the code to I'll also copy the implementation to |
|
I can't make this work. The previous |
|
Actually, if the type params are the source of "ugliness" and complexity, then the goal is to eliminate them. If I use fewer in the declaration, I think can limit it to So, it might mean that pub type Pager<P, F = JsonFormat, C = Url> = ItemIterator<Response<P, F>, C>;Cosmos uses a pub type FeedPager<P, F = JsonFormat, C = String> = ItemIterator<Response<P, F>, C>; |
Resolves #3294