Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-81587

Add support for continuations​ to QFuture

XMLWordPrintable

    • Icon: User Story User Story
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 6.0
    • None
    • Core: Threads
    • None
    • All
    • 21
    • Qt6_Foundation_ Sprint 3, Qt6_Foundation_ Sprint 4, Qt6_Foundation_ Sprint 5

      Provide a way of chaining callbacks, so that the users can write code like this:

      QFuture<ResultType> future = ... ; 
      future.then(callable1).then(callable2)...
      

      Additionally, consider adding .failed for handling the cases when there was an error, and .finally, to be run in any case.

        For Gerrit Dashboard: QTBUG-81587
        # Subject Branch Project Status CR V

            sonakur Sona Kurazyan
            sonakur Sona Kurazyan
            Maurice Kalinowski Maurice Kalinowski
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes