promise
当 promise 收到解决或拒绝值时调用。 这可能在 Promise.resolve() 或 Promise.reject() 的情况下同步地发生。
Promise.resolve()
Promise.reject()
Called when the promise receives a resolution or rejection value. This may occur synchronously in the case of Promise.resolve() or Promise.reject().