Comments (3)
The exception happens because the await
in line 92 makes it possible to call other methods for this instance while the loop is still being executed. Possible fix:
final exactPathCache = _streamCache[firestore]![path];
if (exactPathCache != null) {
for (final query in exactPathCache.keys.toList()) {
final streamController = exactPathCache[query];
if (streamController != null) {
await query.get().then(streamController!.add);
}
}
}
from fake_cloud_firestore.
Related Issues (20)
- Nested updates are merged
- cannot watch stream and create at the same time HOT 1
- Why not remove docData when delete is called? HOT 1
- Batch operations fail when listening to document changes
- `docChanges` reports incorrect changes. HOT 3
- Support DateTime in other Query.where operators
- Incompatibility between fake_cloud_firestore and cloud_firestore version 3.4 HOT 2
- FieldValue.arrayRemove doesn't work when using List of maps HOT 1
- Queries with converter do not support startAfterDocument, startAt...
- Add support for mocking server timestamp HOT 5
- Bug: Regression with OrderBy for v0.3.0 vs 0.2.4
- Firebase.initializeApp is not mocked HOT 4
- Refer to the official page for a full example
- Migrate example to Android embedding v2 HOT 2
- Support for .count() function HOT 1
- collectionGroup(..).snapshots().listen(..) callback is never called for me HOT 1
- Snapshot Listeners of converted documents don't pick up on changes to the same document if it's not also converted HOT 1
- addFirestoreDocument Extension HOT 1
- Cannot get the correct collection reference. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fake_cloud_firestore.