We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 955f00a commit 5185f38Copy full SHA for 5185f38
1 file changed
packages/tools/src/abort.ts
@@ -4,6 +4,7 @@ const createAbortError = () =>
4
export const getTimeoutSignal = (timeout: number): AbortSignal => {
5
const controller = new AbortController();
6
const timeoutId = setTimeout(() => controller.abort(createAbortError()), timeout);
7
+ timeoutId.unref?.();
8
9
controller.signal.addEventListener(
10
'abort',
0 commit comments