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

Add support for AbortController #121

Merged
merged 10 commits into from
Jan 6, 2025

Conversation

ylc395
Copy link
Contributor

@ylc395 ylc395 commented Jan 3, 2025

@sindresorhus
Copy link
Owner

You also need to unsubscribe to the abort event when no longer needed.

index.js Outdated Show resolved Hide resolved
ylc395 and others added 3 commits January 5, 2025 11:53
@ylc395 ylc395 requested a review from sindresorhus January 5, 2025 06:08
index.js Outdated Show resolved Hide resolved
index.js Outdated Show resolved Hide resolved
ylc395 and others added 2 commits January 6, 2025 10:48
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
@ylc395 ylc395 requested a review from sindresorhus January 6, 2025 02:49
@ylc395 ylc395 force-pushed the feature/support-abort-signal branch from ba4530b to 3591a98 Compare January 6, 2025 03:18
@sindresorhus sindresorhus merged commit 86bde13 into sindresorhus:main Jan 6, 2025
2 checks passed
@sindresorhus sindresorhus changed the title feat: support abort signal Add support for AbortController Jan 6, 2025
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.

Support AbortController
2 participants