Details
-
Task
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
-
5
-
54875be84de059374920e4c0deacd13a41caaa13
-
Qt6_Foundation_Sprint 22
Description
It can be useful to have an easy way of creating a QFuture which already has a result (value or an exception). For example:
QFuture<int> future = QtFuture::makeReadyFuture(5); QException e; QFuture<int> failedFuture = QtFuture::makeExceptionalFuture(e)
Attachments
Issue Links
- is duplicated by
-
QTBUG-86724 QFuture should be able to be completed with a known value
-
- Closed
-
- resulted in
-
QTBUG-109677 QtFuture::makeReadyFuture(mutable QList) creates wrong future
-
- Closed
-