[Solved] Realtime listener's data return a huge list of events. Is it intended?
- 0
- Flutter
- Realtime
Hi! So I have a realtime listener which is defined like this:
void _getRealtimePoints() {
subscription.stream.listen((point) {
print(point.events);
});
}
And when I print the output to the console, I get the following...
databases.fishydatabase.collections.pointsof63ee41401fdb47dcbad7.documents.63f1010aae47a9a11644.create, databases.*.collections.*.documents.*.create, databases.fishydatabase.collections.*.documents.63f1010aae47a9a11644.create, databases.*.collections.*.documents.63f1010aae47a9a11644.create, databases.*.collections.pointsof63ee41401fdb47dcbad7.documents.63f1010aae47a9a11644.create, databases.fishydatabase.collections.pointsof63ee41401fdb47dcbad7.documents.*.create, databases.*.collections.pointsof63ee41401fdb47dcbad7.documents.*.create, databases.fishydatabase.collections.*.documents.*.create, databases.fishydatabase.collections.pointsof63ee41401fdb47dcbad7.documents.63f1010aae47a9a11644, databases.*.collections.*.documents.*, databases.fishydatabase.collections.*.documents.63f1010aae47a9a11644, databases.*.collections.*.documents.63f1010aae47a9a11644, databases.*.collections.pointsof63ee41401fdb47dcbad7.documents.63f1010aae47a9a11644, databases.fishydatabase.collections.pointsof63ee41401fdb47dcbad7.documents.*, databases.*.collections.pointsof63ee41401fdb47dcbad7.documents.*, databases.fishydatabase.collections.*.documents.*, databases.fishydatabase.collections.pointsof63ee41401fdb47dcbad7, databases.*.collections.*, databases.fishydatabase.collections.*, databases.*.collections.pointsof63ee41401fdb47dcbad7, databases.fishydatabase, databases.*
Why there are so many elements for a simple document creation?
These are all possible variations of the events that could’ve been triggered by the action 👍🏻
ah, gotcha
tyvm
[Solved] Realtime listener's data return a huge list of events. Is it intended?
No worries 👍🏻 the footprint should be minor and depending on the use case you might need some of those events ☺️
Recommended threads
- Current User is Not authorized
recreating same Thread
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...