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

fix: timeoutId compatible for browser-like environments #16

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

psyirius
Copy link
Contributor

@psyirius psyirius commented Feb 20, 2024

Fixes timeoutId being undefined when trying to call unref in browser-like environments.

Linked Issues

fix #15

Fixes `timeoutId` being undefined when trying to call unref in browser-like environments.
@psyirius
Copy link
Contributor Author

Sorry for ignoring the template!
Don't have enough time.

Please refer #15 to learn more.

@antfu antfu merged commit 0648a21 into antfu:main Feb 21, 2024
2 checks passed
@psyirius psyirius deleted the fix-timeout branch February 25, 2024 02:46
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.

options.onTimeoutError is called even after response is already received (browser)
2 participants