Instagram / Instagram/IGListKit
Multiple ListBindingSectionController updates in quick succession makes completion block fail
Open
bug
question
- Dominant language
- Objective-C
- Stars
- 13.1k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
I have real time updates to the data within my `ListBindingSectionController`. This involves retrieving data from a server, updating local variables, then calling `self.update(animated: false)`.
Sometimes a race condition occurs with data retrieved from the server and the calling of `update(animated:)` which forces the last `update(animated:)` call to not complete. This leads to inconsistencies within the section controller. Is there any way to make sure that all updates will be completed, like queueing them?
Contributor guide
Assessment
This issue has not been assessed yet.