(reject: (e: Error) => void, message: string)
| 54 | } |
| 55 | |
| 56 | function rejectWithTimeout(reject: (e: Error) => void, message: string): void { |
| 57 | reject(new Error(message)) |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * Race a promise against a timeout. Rejects with `Error(message)` if the |
nothing calls this directly
no outgoing calls
no test coverage detected