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
What is the intended behavior when the provided function throws an error?
While giving this a try, it ends up that the call is not cached, but I couldn't find any mention in the docs or a test case: https://runkit.com/embed/w29b07kuc7f9
I like how this works currently but I would want to confirm whether this is the intended behavior.
If so, I think it makes sense to mention this in the docs or write a test case, so that we can rely on this behavior in our implementation.
The text was updated successfully, but these errors were encountered:
@thgreasi yes, invocations that crash are not cached. It's intentional. Same with promise mode, if returned promise rejects, then cache is cleared for that invocation.
What is the intended behavior when the provided function throws an error?
While giving this a try, it ends up that the call is not cached, but I couldn't find any mention in the docs or a test case:
https://runkit.com/embed/w29b07kuc7f9
I like how this works currently but I would want to confirm whether this is the intended behavior.
If so, I think it makes sense to mention this in the docs or write a test case, so that we can rely on this behavior in our implementation.
The text was updated successfully, but these errors were encountered: