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

Rethink Promise::make's lifetime

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Core: Other
    • WebAssembly

    Description

      Promise::make's users have to think of promise's lifetime every time they use it. There should be a default mechanism for them to keep the promise's callbacks live, such as a returned RAII subscription object (see qstdweb_p.h's readDataTransfer)

      Attachments

        Activity

          People

            mikolaj.boc Mikołaj Boc
            mikolaj.boc Mikołaj Boc
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: