Open nicoCalvo opened 5 years ago
How you handle concurrent requests in order to avoid multiple token renewal process to be triggered?
It queues requests according to the isFetching state. See: https://github.com/newsiberian/apollo-link-token-refresh/blob/b4c12027137586fd4e65442e478d662144068fdd/src/tokenRefreshLink.ts#L139
How you handle concurrent requests in order to avoid multiple token renewal process to be triggered?