@@ -855,7 +855,7 @@ export class SyncEngine implements RemoteSyncer, SharedClientStateSyncer {
855
855
}
856
856
857
857
// PORTING NOTE: Multi-tab only.
858
- private resetLimboDocuments ( ) : void {
858
+ private resetLimboDocuments ( ) : void {
859
859
objUtils . forEachNumber ( this . limboKeysByTarget , targetId => {
860
860
this . remoteStore . unlisten ( targetId ) ;
861
861
} ) ;
@@ -870,7 +870,9 @@ export class SyncEngine implements RemoteSyncer, SharedClientStateSyncer {
870
870
* Raises snapshots for any changes that affect the current client.
871
871
*/
872
872
// PORTING NOTE: Multi-tab only.
873
- private synchronizeQueryViewsAndRaiseSnapshots ( targets : TargetId [ ] ) : Promise < QueryData [ ] > {
873
+ private synchronizeQueryViewsAndRaiseSnapshots (
874
+ targets : TargetId [ ]
875
+ ) : Promise < QueryData [ ] > {
874
876
let p = Promise . resolve ( ) ;
875
877
const activeQueries : QueryData [ ] = [ ] ;
876
878
for ( const targetId of targets ) {
@@ -921,10 +923,7 @@ export class SyncEngine implements RemoteSyncer, SharedClientStateSyncer {
921
923
if ( this . isPrimary ) {
922
924
// If we receive a target state notification via WebStorage, we are
923
925
// either already secondary or another tab has taken the primary lease.
924
- log . debug (
925
- LOG_TAG ,
926
- 'Ignoring unexpected query state notification.'
927
- ) ;
926
+ log . debug ( LOG_TAG , 'Ignoring unexpected query state notification.' ) ;
928
927
return ;
929
928
}
930
929
0 commit comments