shouldPause

Determines whether query processing needs to be paused based on error.

Use QueryOptions.pauseDurationAfter for cases like HTTP 503 errors, where requests from the client need to be stopped for a certain period. There's currently no mechanism for automatic resumption after the specified duration. Resuming will require implementation on the UI, such as a retry button.

Return

Returns QueryFetchStatus.Paused if pausing is necessary, otherwise returns null.