DittoStoreObserver

A store observer invokes an observation handler whenever results for its query change.

Create a store observer by calling DittoStore.registerObserver. The store observer will remain active until the owning Ditto instance goes out of scope or the DittoStoreObserver.close is called.

Properties

Link copied to clipboard

Convenience property, for determining whether the store observer is active or has been closed. A store observer is considered closed if the owning InternalDitto instance goes out of scope.

Link copied to clipboard

The query arguments of the store observer (as passed when registering it).

Link copied to clipboard

The query string of the store observer (as passed when registering it).

Functions

Link copied to clipboard
open override fun close()