JetBrains / rd

Reactive Distributed communication framework for .NET, Kotlin, C++. Inspired by Rider IDE.
Apache License 2.0
386 stars 54 forks source link

Added "ViewableList.sync" method for optimized updates with a minimal number of change events. #491

Closed mirasrael closed 2 months ago

mirasrael commented 3 months ago

Added the "sync" method to ViewableList for optimized list updates.

Normally with a list you don't care about batch modifications and can recreate a list from new elements, but for a viewable list you generate an event on every change, and it may be costly in some cases to process them all. With the sync method you may receive only significant change events.