Visitar URL original
Fix cancellation in the fetchLater event accumulation example by JinDX · Pull Request #1973 · whatwg/fetch · GitHub
Skip to content

Fix cancellation in the fetchLater event accumulation example - #1973

Open
JinDX wants to merge 1 commit into
whatwg:mainfrom
JinDX:fix/fetch-later-accumulation-abort-example
Open

JinDX wants to merge 1 commit into
whatwg:mainfrom
JinDX:fix/fetch-later-accumulation-abort-example

Conversation

@JinDX

@JinDX JinDX commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Create a controller for each deferred request, pass its signal through RequestInit.signal, and retain the result. A pending request can then be aborted before the accumulated events are queued again.


Preview | Diff

@annevk
annevk requested a review from noamr November 16, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants