Can a simple boolean value be used as lock for async code?

前端 未结 0 416
被撕碎了的回忆
被撕碎了的回忆 2021-02-11 21:43

When we get an accessToken expired back from our API we will try to refresh the accessToken using a refresh token. We can have a scenario where we send 5-10 requests in parallel

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