after(promise)
在 promise 继续执行后立即调用。
这可能在 then()
、catch()
或 finally()
句柄之后,或者在另一个 await
之后的 await
之前。
promise
<Promise>
Called immediately after a promise continuation executes. This may be after a
then()
, catch()
, or finally()
handler or before an await
after another
await
.