Read-only view of a document query. Returned by Repo.findWithProgress
Readonly
read via peek() — error is only set on the failed state. Will be removed in the next major release.
peek()
error
failed
Will be removed in the next major release.
read via peek().state. Will be removed in the next major release.
peek().state
Returns the current state of the query.
Subscribe to state changes. The callback fires whenever the query transitions to a new state. Returns an unsubscribe function.
Returns a promise that resolves with the DocHandle when the query reaches the ready state. Rejects if the query fails or the signal is aborted.
ready
Optional
Read-only view of a document query. Returned by Repo.findWithProgress