[Solved] Realtime listener's data return a huge list of events. Is it intended?
- 0
- Resolved
- 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
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...
- How to update from 1.8.1 to 1.9.6
Due to the number of issues reported in version 1.9.5, I am hesitant to proceed with the update. Could anyone advise if version 1.9.6 is stable and resolves tho...
- HTTP Error 500 ''
Hello to everyone, I'm a Flutter developer and actually I'm developing an app using Appwrite.. during my tests and also massive ones I've noticed something we...