跳至主要內容

Promise.prototype.finally

小于 1 分钟featurees-proposalmissing-example

Promise.prototype.finallyopen in new window

类型

interface Promise<T> {
  finally(onFinally: () => void): Promise<T>;
}

入口点

core-js/proposals/promise-finally