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
- 1:1 relationship doesn’t sync after re-a...
Hi, I’m trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...
- Upsert with setting permissions
Hi there, I am using self-hosted appwrite v1.7.4 and trying to use the bulk update stuff that was released with 1.7.x. Unfortunally I found that there is an ser...
- One to many 2 way, console UI not correc...
Hey, seems I'm facing the exactly same issue with this one: https://github.com/appwrite/appwrite/issues/6016 Since this Github issue stay open for so long, let ...