Skip to content
Back

Realtime: identify origin

  • 0
  • Android
  • Flutter
  • Realtime
  • Self Hosted
panda_p
30 Nov, 2023, 10:31

I have multiple clients that connect to Appwrite. If any of them change a document in the database, a realtime event is triggert. That event is then send to all subscribers. So far, so good. Now my question: Is it possible to identify which client triggered the event? Because my flutter-client needs the ability to ignore events that it itself caused.

TL;DR
The user has multiple clients connected to Appwrite, and when any of them change a document, a realtime event is triggered and sent to all subscribers. The user wants to know if it's possible to identify which client triggered the event, as their flutter-client needs to ignore events that it caused itself.
Drake
1 Dec, 2023, 03:45

Not really unless to have an attribute that stores updated by

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more