在 promise 继续执行之前调用。
Called before a promise continuation executes. This can be in the form of
finally() handlers or an
before callback will be called 0 to N times. The
will typically be called 0 times if no continuation was ever made for the
before callback may be called many times in the case where
many continuations have been made from the same promise.