mirror of
https://github.com/simonbrunel/qtpromise.git
synced 2025-01-23 04:14:38 +08:00
051fed5fbc
Call the given `functor` on each element in the promise value (i.e. `Sequence<T>`), then resolve to the original sequence unmodified. Also provide a static helper to directly filter values (`QtPromise::each(values, functor)`).
35 lines
1.1 KiB
Markdown
35 lines
1.1 KiB
Markdown
## QPromise
|
|
|
|
### Public Members
|
|
|
|
* [`QPromise<T>::QPromise`](qpromise/constructor.md)
|
|
* [`QPromise<T>::delay`](qpromise/delay.md)
|
|
* [`QPromise<T>::each`](qpromise/each.md)
|
|
* [`QPromise<T>::fail`](qpromise/fail.md)
|
|
* [`QPromise<T>::filter`](qpromise/filter.md)
|
|
* [`QPromise<T>::finally`](qpromise/finally.md)
|
|
* [`QPromise<T>::isFulfilled`](qpromise/isfulfilled.md)
|
|
* [`QPromise<T>::isPending`](qpromise/ispending.md)
|
|
* [`QPromise<T>::isRejected`](qpromise/isrejected.md)
|
|
* [`QPromise<T>::map`](qpromise/map.md)
|
|
* [`QPromise<T>::tap`](qpromise/tap.md)
|
|
* [`QPromise<T>::tapFail`](qpromise/tapfail.md)
|
|
* [`QPromise<T>::then`](qpromise/then.md)
|
|
* [`QPromise<T>::timeout`](qpromise/timeout.md)
|
|
* [`QPromise<T>::wait`](qpromise/wait.md)
|
|
|
|
### Public Static Members
|
|
|
|
* [`[static] QPromise<T>::all`](qpromise/all.md)
|
|
* [`[static] QPromise<T>::reject`](qpromise/reject.md)
|
|
* [`[static] QPromise<T>::resolve`](qpromise/resolve.md)
|
|
|
|
## Helpers
|
|
|
|
* [`qPromise`](helpers/qpromise.md)
|
|
* [`qPromiseAll`](helpers/qpromiseall.md)
|
|
* [`QtPromise::attempt`](helpers/attempt.md)
|
|
* [`QtPromise::each`](helpers/each.md)
|
|
* [`QtPromise::filter`](helpers/filter.md)
|
|
* [`QtPromise::map`](helpers/map.md)
|