[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
- Fix Android OAuth2 page not being resume...
I've opened a PR a while back that fixes Flutter OAuth2 authentication with recent `flutter_web_auth_2` version, that didn't get much attention: * https://githu...
- `type 'Null' is not a subtype of type 'b...
When creating a new file using Appwrite Flutter SDK, the file is successfully created on the server, but the client throws the following exception: ``` type ...
- login With OAuth Failed
login With OAuth Failed: when i cliick to login with any of the following (facebook, gmail or apple) am being redirected out of the app to enter my detail, afte...