mirror of
https://github.com/simonbrunel/qtpromise.git
synced 2024-11-22 19:00:05 +08:00
4919a68959
QFuture canceled with `QFuture::cancel()` now rejects attached promises with `QPromiseCanceledException`. In case the future is canceled because an exception (e) has been thrown, the promise is rejected with the same (e) exception (or `QUnhandledException` if not a subclass of `QException`).
5 lines
75 B
Prolog
5 lines
75 B
Prolog
TARGET = tst_future
|
|
SOURCES += $$PWD/tst_future.cpp
|
|
|
|
include(../tests.pri)
|