The type of items in query results. This is a convenience type that is neither inferred from the store observer's query nor validated against it.
The type of query arguments.
ReadonlydittoThe Ditto instance this store observer is registered with.
Optional ReadonlyqueryThe query arguments of the store observer (as passed when registering it).
ReadonlyqueryThe query string of the store observer (as passed when registering it).
A store observer invokes a given handler whenever results for its query change.
The store observer will remain active until it is cancelled, or the Ditto instance managing the observer has been closed.
Create a store observer by calling
ditto.store.registerObserver().