Skip to content

Share authorizing promise between requests #2

Description

@benslv

If two requests are made via the same instance before it has saved a token it'll kick off two distinct authorization processes, which is a waste. We should be able to save the promise while it's pending, such that any new requests that arrive before it's resolved will be able to wait for that promise instead of creating a new one.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions