File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
packages/firestore/src/core Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -77,12 +77,6 @@ class QueryView {
77
77
* stream to identify this query.
78
78
*/
79
79
public targetId : TargetId ,
80
- /**
81
- * An identifier from the datastore backend that indicates the last state
82
- * of the results that was received. This can be used to indicate where
83
- * to continue receiving new doc changes for the query.
84
- */
85
- public resumeToken : ProtoByteString ,
86
80
/**
87
81
* The view is responsible for computing the final merged truth of what
88
82
* docs are in the query. It gets notified of local and remote changes,
@@ -195,12 +189,7 @@ export class SyncEngine implements RemoteSyncer {
195
189
'applyChanges for new view should always return a snapshot'
196
190
) ;
197
191
198
- const data = new QueryView (
199
- query ,
200
- queryData . targetId ,
201
- queryData . resumeToken ,
202
- view
203
- ) ;
192
+ const data = new QueryView ( query , queryData . targetId , view ) ;
204
193
this . queryViewsByQuery . set ( query , data ) ;
205
194
this . queryViewsByTarget [ queryData . targetId ] = data ;
206
195
this . viewHandler ! ( [ viewChange . snapshot ! ] ) ;
You can’t perform that action at this time.
0 commit comments