We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a619f6 commit bb81badCopy full SHA for bb81bad
packages/firestore/src/core/component_provider.ts
@@ -354,6 +354,14 @@ export class MultiTabOfflineComponentProvider extends IndexedDbOfflineComponentP
354
});
355
}
356
357
+ /**
358
+ * Starts or stops a scheduler, taking into account its nullness and whether
359
+ * the SDK is acting as the "primary" tab.
360
+ * @param scheduler The scheduler to start or stop; if null, then this
361
+ * method does nothing.
362
+ * @param isPrimary true if the current tab is the primary tab, and false if
363
+ * it is a secondary tab.
364
+ */
365
private startOrStopScheduler(
366
scheduler: Scheduler | null,
367
isPrimary: boolean
0 commit comments