InMemoryStreamQueryStore class final

A StreamQueryStore implementation backed by a stream controller and explicit notifications via handleTableUpdates.

Inheritance

Properties

closeStreamsSynchronously ↔ bool
Whether resources associated with a query stream should be closed synchronously after all listeners have cancelled their stream subscription.
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
isShuttingDown → bool
Whether this query store is shutting down (that is, close has been called).
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → Future<void>
Closes this instance.
inherited
handleTableUpdates(Set<TableUpdate> updates) → void
Handles updates on a given table by re-executing all queries that read from that table.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerStream<T extends Object>(QueryStreamFetcher<T> fetcher) → Stream<T>
Creates a new stream from a select statement expressed through fetcher.
inherited
toString() → String
A string representation of this object.
inherited
updatesForSync(TableUpdateQuery query) → Stream<Set<TableUpdate>>
Creates a stream that emits updates synchronously if they match query.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited