(
onRejected?:
| ((reason: unknown) => TResult | PromiseLike<TResult>)
| undefined
| null,
)
| 61 | } |
| 62 | |
| 63 | catch<TResult>( |
| 64 | onRejected?: |
| 65 | | ((reason: unknown) => TResult | PromiseLike<TResult>) |
| 66 | | undefined |
| 67 | | null, |
| 68 | ): Promise<T | TResult> { |
| 69 | return this._promise.catch(onRejected); |
| 70 | } |
| 71 | |
| 72 | cancel(): void { |
| 73 | if (!this._pending || this._canceled) { |
no outgoing calls
no test coverage detected