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

Provide a way of integrating QFuture with signals

XMLWordPrintable

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

      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.
       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes