mirror of
https://github.com/simonbrunel/qtpromise.git
synced 2025-04-03 23:15:05 +08:00
Converts the resolved value of `QPromise<T>` to the type `U`. Depending on types `T` and `U`, it performs a static cast, calls a converting constructor or tries to convert using `QVariant`.
1.8 KiB
1.8 KiB
API Reference
Functions
QPromise<T>::QPromise
QPromise<T>::convert
QPromise<T>::delay
QPromise<T>::each
QPromise<T>::fail
QPromise<T>::filter
QPromise<T>::finally
QPromise<T>::isFulfilled
QPromise<T>::isPending
QPromise<T>::isRejected
QPromise<T>::map
QPromise<T>::reduce
QPromise<T>::tap
QPromise<T>::tapFail
QPromise<T>::then
QPromise<T>::timeout
QPromise<T>::wait
Static Functions
Helpers
QtPromise::all
QtPromise::attempt
QtPromise::connect
QtPromise::each
QtPromise::filter
QtPromise::map
QtPromise::reduce
QtPromise::resolve
Exceptions
QPromiseCanceledException
QPromiseContextException
QPromiseConversionException
QPromiseTimeoutException
QPromiseUndefinedException
Deprecations
(static) QPromise<T>::all
: useQtPromise::all
instead (since 0.5.0)QtPromise::qPromise
: useQtPromise::resolve
instead (since 0.5.0)QtPromise::qPromiseAll
: useQtPromise::all
instead (since 0.5.0)