
you subscribed before updating the document?
how many times are you subscribing? are you subscribing to anythign else anywhere?

I subscribed before updating
I wrote subscribe code once, but I do recurrent app refresh to see if it's working.

I do recurrent app refresh to see if it's working.
What do you mean?

That's, i restart the app to see if real-time flow of data is coming in

take a look at your recording at 18 seconds before you restarted the app. look at the debug console. you'll see the event printed

when you restarted the app, you cleared away the debug logs

Appwrite's realtime works by executing the callback when the event occurs

Oooo, that's true, I didn't even notice it

works, I appreciate you man
I never knew I was at the verge of it working
I appreciate your tireless efforts towards my project
I'll be willing to support the appwrite ecosystem in the future as I make business profit, I'm moved by the love I enjoy from you all @Steven @safwan @Maniac_Fighter @Binyamin @others

Please sir one more thing, will the real-time work for a dart cloud function that is asynchronous and awaiting a response from an API?
If yes, kindly give an hint of how it should be.
I appreciate you always Sir @Steven Apologies for taking your time

Would you please clarify what you mean? What are your trying to do with realtime in Appwrite functions?

To get status of a payment made by customer to know if it's successful or failed or pending.


Am getting a long data stream since it's getting all the content of the document, can't I just get the variable for a particular attribute

Not at the moment. You can pick out what you need client side

Yes, am thinking of how to do the filtering

Cause if I use index and customer balance (string length increases with other attributes), I'll start getting wrong data later

What do you mean?

User balance may change from 100 to 10000 the change in length will affect my string filter if I do so via index

What do you mean by index?

the index number for each string value @Steven

Uhh. It should be a map...just like if you were using the data attribute from a Document

Ooo, really

You're right Sir, I appreciate you dearly, and I never knew Sir

Was thinking it's ordinary string
Recommended threads
- ❗[Help] Function stuck in "waiting" stat...
Hi Appwrite team 👋 I'm trying to contribute to Appwrite and followed the official setup instructions from the CONTRIBUTING.md guide to run the platform locall...
- Help with 409 Error on Relationship Setu...
I ran into a 409 document_already_exists issue. with AppWrite so I tried to debug. Here's what I've set up: Collection A has 3 attributes and a two-way 1-to-m...
- Database Double Requesting Error.
I am getting error for creating new document in an collection with new ID.unique() then too getting error of existing document. When button is pressed one docum...
