附加解决和/或拒绝 Promise 的回调。
Optional
onfulfilled : null | ( ( value ) => TResult 1 | PromiseLike < TResult 1 > )解决 Promise 时执行的回调。
Optional
onrejected : null | ( ( Reason ) => TResult2 | PromiseLike < TResult2 > )Promise 被拒绝时执行的回调。
用于完成所执行的回调的 Promise。
使用TypeDoc生成
仅为拒绝 Promise 附加回调。