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 106d1c2 commit 65e3555Copy full SHA for 65e3555
src/utils.ts
@@ -4,7 +4,7 @@
4
export function abortAfterTimeout(timeoutMs: number): AbortSignal {
5
const controller = new AbortController();
6
setTimeout(() => {
7
- controller.abort();
+ controller.abort("Timeout exceeded");
8
}, timeoutMs);
9
10
return controller.signal;
0 commit comments