1 | export declare const assertFunction: (func: unknown, expected: string) => asserts func is (...args: unknown[]) => unknown;
|
2 | export declare const noop: () => void;
|
3 | export declare const catchRejection: <T>(promise: Promise<T>, onError?: () => void) => Promise<T>;
|
4 | export declare const addAbortSignalListener: (abortSignal: AbortSignal, callback: (evt: Event) => void) => () => void;
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | export declare const abortControllerWithReason: <T>(abortController: AbortController, reason: T) => void;
|