SdbRecordRefExtensionOnSnapshot<K extends SdbKey, V extends SdbValue> extension

Snapshot extension on record.

on

Methods

onSnapshot(SdbDatabase db) Stream<SdbRecordSnapshot<K, V>?>

Available on SdbRecordRef<K, V>, provided by the SdbRecordRefExtensionOnSnapshot extension

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