mirror of
https://github.com/simonbrunel/qtpromise.git
synced 2024-11-22 02:34:30 +08:00
c55fa03e7b
This `handler` allows to observe the value of the `input` promise, without changing the propagated value. The `output` promise will be resolved with the same value as the `input` promise (the `handler` returned value will be ignored). However, if `handler` throws, `output` is rejected with the new exception. Unlike `finally`, this handler is not called for rejections. |
||
---|---|---|
.. | ||
benchmark | ||
future | ||
helpers | ||
qpromise | ||
requirements | ||
thread | ||
auto.pro | ||
tests.pri |