implements

属性

捕捉: (<TResult>(onrejected?) => Promise<export= | TResult>) = ...

类型声明

最后: ((onfinally?) => Promise<export=>) = ...

类型声明

    • (onfinally?): Promise<export=>
    • 附加一个回调,该回调在 Promise 结算(履行或拒绝)时调用。 无法从回调中修改已解析的值。

      参数

      • Optional onfinally : null | ( ( ) => void )

        Promise 结算(履行或拒绝)时执行的回调。

      Returns Promise<export=>

      用于完成回调的 Promise。

then: (<TResult 1, TResult 2>(onfulfilled? , onrejected ? ) => Promise < TResult 1 | TResult 2 > ) = ...

类型声明

访问器

方法

使用TypeDoc生成