Method
catch
(
onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null,
)
Source from the content-addressed store, hash-verified
| 552 | } |
| 553 | |
| 554 | catch<TResult = never>( |
| 555 | onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null, |
| 556 | ): Promise<R | TResult> { |
| 557 | return this.then(null, onRejected); |
| 558 | } |
| 559 | |
| 560 | finally<U>(onFinally?: () => U | PromiseLike<U>): Promise<R> { |
| 561 | // See comment on the call to `then` about why thee `Symbol.species` is safely accessed. |
Callers
nothing calls this directly
Tested by
no test coverage detected