API Query Result As Computed Property?


#1

I’m wondering if it’s practicle to use an API query result as a computed property. I’m trying to actively update the number of messages a user has that are new - from which I’m getting by checking a field in an API. When the user clicks on a new message that message is checked to not new on the server through the API. I then need requery the API to get the updated count and display that in a template.

Is there a better way to do this with ember? Is this possible?