Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Conversation

laozhujia
Copy link

the reject add to every response handler.
when interceptor next function params return a Promise.reject() the first response handler will catch it and run reject.
if the reject not throws new error the next response handlers will still run resolve function with the return value of reject function

the reject  add to every response handler.
when interceptor next function params return a Promise.reject() the first response handler will catch it and run reject.
if the reject not throw new error the next response handlers will still run resolve function with the reject  return value
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant