ta
TanStack
OSS
ta
Pipelines
Nx runs
Insights
Compare tasks
Analytics
Sign in
Toggle Sidebar
ro
router
Pipelines
perf(router-core): defer native AbortController.abort() until a signal is read A reasonless native abort() eagerly creates its AbortError, and Chromium and Node format a stack for it (1.6-5 us per call). Every client navigation aborts at least one router controller, and almost none of their signals are ever read. RouterAbortController records the abort internally and performs the native abort only once the signal has been read: the signal getter flushes a deferred abort, so readers still see an aborted signal with the engine's AbortError and the first reason wins. Internal cancellation checks use the internal record. Internal waits registered while the signal is unread settle without native listeners, before any public listener could have been registered, so listener ordering is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
nx affected --targets=test:eslint,test:unit,test:e2e,test:types,test:build,build --parallel=3
⌘K
perf(router-core): defer native AbortController.abort() until a signal is read
Succeeded
in
10m 1s
Started
read
access token used
Copy command
nx affected --targets=test:eslint,test:unit,test:e2e,test:types,test:build,build --parallel=3
8718
b5a1e2b
GitHub
Open on GitHub
Tasks
Resource Usage
ta
TanStack
OSS