Skip to content

Commit 3d26806

Browse files
authored
Fix getRemoteKeysForTarget() method name in comment. (#1020)
While porting I noticed this was slightly wrong. targetContainsDocument() is the method in WatchChangeAggregator. The SyncEngine method I meant to reference is getRemoteKeysForTarget().
1 parent 6d66392 commit 3d26806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firestore/src/core/sync_engine.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class LimboResolution {
9999

100100
/**
101101
* Set to true once we've received a document. This is used in
102-
* targetContainsDocument() and ultimately used by WatchChangeAggregator to
102+
* getRemoteKeysForTarget() and ultimately used by WatchChangeAggregator to
103103
* decide whether it needs to manufacture a delete event for the target once
104104
* the target is CURRENT.
105105
*/

0 commit comments

Comments
 (0)