You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, that's it. Every time when eventsNotifier store will be changed it will re-call events store getter because it's specified as a dependency of asyncable store.
But I'm sure you use another tool for your notifications, but still you can create a regular writable/readable store and pass it in 3rd argument of asyncable store. Anytime dependant stores have changed, asyncable getter will be performed automatically with new values of that stores.
Hope I'm answered your question, better late than never.
My use-case:
I'm fetching a list of events from an API.
Separately, I've subscribed to another service which triggers a notification when there are new events.
After I've received the notification, I want to re-fetch the list of events, which should now have the new one, which will update the UI.
The text was updated successfully, but these errors were encountered: