mirror of
https://github.com/simonbrunel/qtpromise.git
synced 2024-11-21 18:24:29 +08:00
Promises/A+ implementation for Qt/C++
f610826ef0
Add a new helper that calls functor immediately and returns a promise fulfilled with the value returned by functor. Any synchronous exceptions will be turned into rejections on the returned promise. This is a convenient method that can be used instead of handling both synchronous and asynchronous exception flows. Also simplify PromiseDispatch which now calls the functor with a variable number of arguments (including none). |
||
---|---|---|
docs | ||
include | ||
package/features | ||
src | ||
tests | ||
.appveyor.yml | ||
.gitignore | ||
.travis.yml | ||
book.json | ||
LICENSE | ||
qpm.json | ||
qtpromise.pri | ||
qtpromise.pro | ||
README.md |
QtPromise
Promises/A+ implementation for Qt/C++.
Requires Qt 5.6 (or later) with C++11 support enabled.
Documentation
License
QtPromise is available under the MIT license.