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

[Batch Fetching] Add ASBatchFetchingDelegate #281

Merged

Conversation

nguyenhuy
Copy link
Member

  • In addition to checking remaining leading screens, ASBatchFetching now also calculates a remaining time and consults its delegate if needed.
  • The delegate can override the decision of ASBatchFetching, for example based on remaining time and average time of past batch requests.

- In addition to checking remaining leading screens, ASBatchFetching now also calculates a remaining time and consults its delegate if needed.
- The delegate can override the decision of ASBatchFetching, for example based on remaining time and average time of past batch requests.
@ghost
Copy link

ghost commented May 16, 2017

🚫 CI failed with log

Copy link
Member

@Adlai-Holler Adlai-Holler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great!

@nguyenhuy
Copy link
Member Author

nguyenhuy commented May 17, 2017

Cool. Thanks for the prompt reviews.

@nguyenhuy nguyenhuy merged commit 8c45eae into TextureGroup:master May 17, 2017
@nguyenhuy nguyenhuy deleted the HNScrollVelocityInBatchFetching branch May 17, 2017 13:29
bernieperez pushed a commit to AtomTickets/Texture that referenced this pull request Apr 25, 2018
* Add ASBatchFetchingDelegate
- In addition to checking remaining leading screens, ASBatchFetching now also calculates a remaining time and consults its delegate if needed.
- The delegate can override the decision of ASBatchFetching, for example based on remaining time and average time of past batch requests.

* Fix up tests

* Update CHANGELOG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants