This website requires JavaScript.
Explore
Help
Sign In
amass
/
qtpromise
Watch
1
Star
0
Fork
0
You've already forked qtpromise
mirror of
https://github.com/simonbrunel/qtpromise.git
synced
2024-11-25 04:05:49 +08:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
49a1d6a57b
qtpromise
/
tests
/
auto
/
auto.pro
9 lines
120 B
Prolog
Raw
Normal View
History
Unescape
Escape
Initial implementation
2017-05-15 01:03:01 +08:00
TEMPLATE
=
subdirs
SUBDIRS
+=
\
C++11 optimizations and (basic) benchmark Make continuation methods const (then/fail/finally) and ensure that the resolved promise value/error is copied only when required, same for user lambdas (dispatching result is now fully handled by the PromiseData).
2017-06-03 16:04:28 +08:00
benchmark
\
Enhance QFuture integration and add unit tests 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`).
2017-05-26 00:00:17 +08:00
future
\
Move helpers in separate file and add unit tests Gather helpers in `promisehelpers.h` and add a global include file to make easier integration with the lib (`#include <QtPromise>`).
2017-05-25 15:19:36 +08:00
helpers
\
Initial implementation
2017-05-15 01:03:01 +08:00
qpromise
\
Add multithreading support Make QPromise thread safe but also ensure that continuation lambdas (then/fail/finally) are called in the thread of the promise instance they are attached to.
2017-06-05 00:22:24 +08:00
requirements
\
thread
Reference in New Issue
Copy Permalink