you subscribed before updating the document?
how many times are you subscribing? are you subscribing to anythign else anywhere?
Votes
0
Replies
24
Participants
Unknown
Messages
25
you subscribed before updating the document?
how many times are you subscribing? are you subscribing to anythign else anywhere?
Rank 4: Virtual Machine
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?
Rank 4: Virtual Machine
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
Rank 4: Virtual Machine
Oooo, that's true, I didn't even notice it
Rank 4: Virtual Machine
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
Rank 4: Virtual Machine
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?
Rank 4: Virtual Machine
To get status of a payment made by customer to know if it's successful or failed or pending.
Rank 4: Virtual Machine
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
Rank 4: Virtual Machine
Yes, am thinking of how to do the filtering
Rank 4: Virtual Machine
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?
Rank 4: Virtual Machine
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?
Rank 4: Virtual Machine
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
Rank 4: Virtual Machine
Ooo, really
Rank 4: Virtual Machine
You're right Sir, I appreciate you dearly, and I never knew Sir
Rank 4: Virtual Machine
Was thinking it's ordinary string