staleWhileRevalidate
may cause unhandledrejection errors
#49
Labels
help wanted
Extra attention is needed
staleWhileRevalidate
may cause unhandledrejection errors
#49
This is due to the async
setTimeout(getSet)
call. If the getter throws, then this error cannot be caught.I'm not sure of how to handle this. Maybe:
item.onAsyncRejection(cb)
swallowAsyncRejections: true
(default)unhandledrejection
handler, which loses the context/originThe text was updated successfully, but these errors were encountered: