qtpromise/docs
Simon Brunel f610826ef0 Implement QtPromise::attempt(functor, args...)
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).
2018-05-31 09:02:51 +02:00
..
assets New documentation based on GitBook CLI 2018-02-11 19:02:14 +01:00
qtpromise Implement QtPromise::attempt(functor, args...) 2018-05-31 09:02:51 +02:00
README.md Upgrade TravisCI environment to Qt 5.6 and GCC 4.9 2018-05-18 11:32:01 +02:00
SUMMARY.md Implement QtPromise::attempt(functor, args...) 2018-05-31 09:02:51 +02:00

Promises/A+

QtPromise

Promises/A+ implementation for Qt/C++.

Requires Qt 5.6 (or later) with C++11 support enabled.

QtPromise for C++

License

QtPromise is available under the MIT license.