onSnapshots method

Stream<List<RecordSnapshot<K, V>>> onSnapshots (
  1. Database database
)

Find multiple records and listen for changes.

Returns a single subscriber stream that must be cancelled.

Implementation

Stream<List<RecordSnapshot<K, V>>> onSnapshots(Database database);