Commit iniziale

This commit is contained in:
Paolo A
2025-02-18 22:59:07 +00:00
commit 4bbf35cefb
6879 changed files with 623784 additions and 0 deletions

7
node_modules/tedious/lib/utils/with-timeout.d.ts generated vendored Normal file
View File

@@ -0,0 +1,7 @@
/**
* Run the function `func` with an `AbortSignal` that will automatically abort after the time specified
* by `timeout` or when the given `signal` is aborted.
*
* On timeout, the `timeoutSignal` will be aborted and a `TimeoutError` will be thrown.
*/
export declare function withTimeout<T>(timeout: number, func: (timeoutSignal: AbortSignal) => Promise<T>, signal?: AbortSignal): Promise<T>;