Interceptors lock doesn't work while multiple request are fired using the same Dio instance

前端 未结 0 576
Happy的楠姐
Happy的楠姐 2021-01-14 03:46

If x number of requests are fired when the token is expired, then the other requests are not locked. Instead, x number requests get 401 error and the refreshAccessToken() is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题