SdbStoreRefExtensionOnSnapshots<K extends SdbKey, V extends SdbValue> extension

Snapshots extension on store.

on

Methods

onSnapshots(SdbDatabase db, {SdbFindOptions<K>? options}) Stream<List<SdbRecordSnapshot<K, V>>>

Available on SdbStoreRef<K, V>, provided by the SdbStoreRefExtensionOnSnapshots extension

Reads the data and set a listener to redo the query on changes. It only tracks changes in the current isolate/tab.