Now that the library is async, there is a possibility for a race condition when trying to refresh a oauth token.
A lock would resolve this issue and it would not be a performance hit since the calls have to wait anyway till the token refresh is complete.
Now that the library is async, there is a possibility for a race condition when trying to refresh a oauth token. A lock would resolve this issue and it would not be a performance hit since the calls have to wait anyway till the token refresh is complete.