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

Add function ShouldStreamListItem which performs context cancellation and limit checking and returns false if they fail #177

Closed
kaidaguerre opened this issue Sep 17, 2021 · 0 comments
Assignees

Comments

@kaidaguerre
Copy link
Contributor

kaidaguerre commented Sep 17, 2021

The function will determine whether it is required to stream any further list items

It will be called automatically from streamLeafListItem (which is called from StreamListItem), to avoid unnecessary streaming (and therefore unnecessary hydrate calls)

It may also be called directly from plugins to determine whether to fetch another page of data from their API

@kaidaguerre kaidaguerre self-assigned this Sep 17, 2021
@kaidaguerre kaidaguerre changed the title StreamListItem should perform context cancellation and limit checking and do nothing if they fail Add function ShouldStreamListItem which performs context cancellation and limit checking and returns false if they fail Sep 20, 2021
kaidaguerre added a commit that referenced this issue Sep 21, 2021
… which performs context cancellation and limit checking. #177
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