@@ -273,7 +273,7 @@ export class View {
273
273
* @param docChanges - The set of changes to make to the view's docs.
274
274
* @param updateLimboDocuments - Whether to update limbo documents based on
275
275
* this change.
276
- * @param isPendingForRequeryResult - Whether the target is pending to run a full
276
+ * @param waitForRequeryResult - Whether the target is pending to run a full
277
277
* re-query due to existence filter mismatch.
278
278
* @param targetChange - A target change to apply for computing limbo docs and
279
279
* sync state.
@@ -284,7 +284,7 @@ export class View {
284
284
docChanges : ViewDocumentChanges ,
285
285
updateLimboDocuments : boolean ,
286
286
targetChange ?: TargetChange ,
287
- isPendingForRequeryResult ?: boolean
287
+ waitForRequeryResult ?: boolean
288
288
) : ViewChange {
289
289
debugAssert (
290
290
! docChanges . needsRefill ,
@@ -304,17 +304,15 @@ export class View {
304
304
305
305
this . applyTargetChange ( targetChange ) ;
306
306
const limboChanges =
307
- ! isPendingForRequeryResult && updateLimboDocuments
307
+ ! waitForRequeryResult && updateLimboDocuments
308
308
? this . updateLimboDocuments ( )
309
309
: [ ] ;
310
310
311
311
// We are at synced state if there is no limbo docs are waiting to be resolved, view is current
312
312
// with the backend, and the query is not pending for full re-query result due to existence
313
313
// filter mismatch.
314
314
const synced =
315
- this . limboDocuments . size === 0 &&
316
- this . current &&
317
- ! isPendingForRequeryResult ;
315
+ this . limboDocuments . size === 0 && this . current && ! waitForRequeryResult ;
318
316
319
317
const newSyncState = synced ? SyncState . Synced : SyncState . Local ;
320
318
const syncStateChanged = newSyncState !== this . syncState ;
0 commit comments