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
{{ message }}
This repository has been archived by the owner on Nov 15, 2020. It is now read-only.
Hey @malcommac,
awesome post, and exploration of networking part. I'm trying to implement cacheable operation and faced with one issue:
I put my cache check and loading code right before I make a network api call
If cache has a valid value then it resolves current promise with this value
But after that when I receive an updated data neither catch nor then are called
Tried to dig inside Promise implementation in Hydra and found that the reason is that in Observer call method it falls into a default case and does nothing.
What I'm doing wrong and what do you think might be the right way?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey @malcommac,
awesome post, and exploration of networking part. I'm trying to implement cacheable operation and faced with one issue:
Tried to dig inside Promise implementation in Hydra and found that the reason is that in Observer call method it falls into a default case and does nothing.
What I'm doing wrong and what do you think might be the right way?
The text was updated successfully, but these errors were encountered: