Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark request interceptor as synchronous #188

Closed
wants to merge 1 commit into from

Conversation

yepitschunked
Copy link

Axios recently added an option to specify whether a request interceptor is synchronous. See axios/axios#2702.

This enables requests to be sent as soon as possible, instead of waiting for unnecessary microtasks to be run (which might be blocked behind other main thread work).

Axios recently added an option to specify whether a request interceptor is synchronous. See axios/axios#2702.
@mindhells
Copy link
Member

The topic seems interesting, please don't hesitate to create an updated PR in case you think this is still aplicable

@mindhells mindhells closed this Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants