Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Lazy loading: Lazy load members while backpaginating #2104

Merged
merged 8 commits into from
Aug 3, 2018

Conversation

bwindels
Copy link
Contributor

@bwindels bwindels commented Aug 2, 2018

Based of #2102, depends on matrix-org/matrix-js-sdk#676

Option is needed to send lazy loading filters to all endpoints used (like /messages)

  • Need to cleanup: Right now we pass both the option and the filter in, because startClient is not async. It would be nicer of the filter was created inside of MatrixClient somehow and we only had to pass in the option, not the filter.

As we need an option to turn lazy loading on (we can't just accept a filter,
as /messages has an incompatible filter), better only pass the option
and create the filter inside startClient
@bwindels bwindels requested a review from a team August 2, 2018 17:58
@bwindels bwindels removed the notready label Aug 2, 2018
@bwindels bwindels changed the title Lazy load members while backpaginating Lazy loading: Lazy load members while backpaginating Aug 2, 2018
@bwindels bwindels merged commit 27ee85f into bwindels/feature_lazyloading Aug 3, 2018
@bwindels bwindels deleted the bwindels/backpaginate_ll branch August 3, 2018 12:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants