Запитання 7
In the "single-flight" refresh pattern, what problem is being solved when multiple API calls receive a 401 simultaneously?
Варіанти відповідей
Preventing the UI from showing multiple loading spinners at once
Reducing the app's memory footprint
Avoiding parallel refresh-token calls that could trigger an IdP's reuse-detection (since rotated refresh tokens are typically single-use), which would otherwise incorrectly look like token theft
Ensuring requests are sent in alphabetical order