[Development] Looking for Feedback QDeferred

Volker Hilsheimer volker.hilsheimer at qt.io
Mon Feb 11 15:26:44 CET 2019


On 11 Feb 2019, at 12:49, Juan Gonzalez Burgos <juangburgos at gmail.com<mailto:juangburgos at gmail.com>> wrote:

Hi guys,

Sorry to bother you with yet another promise/deferred library for Qt. I am looking for feedback.

https://github.com/juangburgos/QDeferred


I like it!

The start/stopLoopInThread seems to me to be a bit too specialised for that level of abstraction. Triggering work through a timer is nice, but being able to start the async work based on a variety of triggers (events or signals) would be even nicer :) For instance, starting a database query in response to an HTTP request; or some heavy computation based on changes to the file system.


Cheers,
Volker



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20190211/77078cbe/attachment.html>


More information about the Development mailing list