QtFuture::WhenAnyResult Struct
template <typename T> struct WhenAnyResult
The WhenAnyResult struct is the result of whenAny() on a range of futures. More…
| Header | #include <QtCore/qfuture_impl.h> |
|---|---|
| CMake | target_link_libraries(app PRIVATE Nt::Core) |
| Module | Nt Core C++ Classes |
List of all members, including inherited members
Public Variables
Detailed Description
It holds the first future that finished and its position in the range.
Member Variable Documentation
QFuture<T> QtFuture::WhenAnyResult::future
The future that finished first.
qsizetype QtFuture::WhenAnyResult::index
The position of the future in the range.