D8999: KJob: add start(int delay) method

René J.V. Bertin noreply at phabricator.kde.org
Sat Nov 25 21:04:18 UTC 2017


rjvbb added a comment.


  I'm not convinced that there's much that can be done in the example I gave to make it smarter and more capable to predict random events, but that's not the point here. It's just an explicit example I had at hand. I proposed this addition because it's a tiny convenience that I think can be useful in other situations as well.
  
  In fact it surprised me a bit that there wasn't already an API for spawning an async job after a delay.

REPOSITORY
  R244 KCoreAddons

REVISION DETAIL
  https://phabricator.kde.org/D8999

To: rjvbb, dfaure
Cc: apol, anthonyfieroni, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171125/e1930ca3/attachment.html>


More information about the Kde-frameworks-devel mailing list