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

Provide a way of integrating QFuture with signals

    XMLWordPrintable

Details

    • User Story
    • Resolution: Done
    • P2: Important
    • 6.0
    • None
    • Core: Threads
    • None
    • All
    • 3
    • Qt6_Foundation_ Sprint 8, Qt6_Foundation_ Sprint 9

    Description

      It would be good to be able to create a QFuture which will become available when a signal is finished, so that we can write something like this:

      QFuture<void> future  = QFuture::connect(timer, &QTimer::timeout);​
      future.then(...);
      

      The exact API still needs to be decided.
       

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes