Ditto Collections Event
data class DittoCollectionsEvent(isInitial: Boolean, collections: List<DittoCollection>, oldCollections: List<DittoCollection>, insertions: List<Int>, deletions: List<Int>, updates: List<Int>, moves: List<DittoLiveQueryMove>)
Content copied to clipboard
Provides information about the changes that have occurred in relation to an event delivered when observing the collections in a DittoStore
. It contains information about the collections that are known as well as the collections that were previously known in the previous event, along with information about what collections have been inserted, deleted, updated, or moved since the last event.
Constructors
DittoCollectionsEvent
Link copied to clipboard
fun DittoCollectionsEvent(isInitial: Boolean, collections: List<DittoCollection>, oldCollections: List<DittoCollection>, insertions: List<Int>, deletions: List<Int>, updates: List<Int>, moves: List<DittoLiveQueryMove>)
Content copied to clipboard
Properties
collections
Link copied to clipboard
insertions
Link copied to clipboard
moves
Link copied to clipboard
oldCollections
Link copied to clipboard