An AsyncSequence using a SC::ThreadPool to execute one or more SC::AsyncRequest in a background thread. More...
#include <Async.h>
Protected Attributes | |
| ThreadPoolTask | task |
| ThreadPool * | threadPool = nullptr |
| detail::AsyncCompletionVariant | completion |
| SC::Result | returnCode = SC::Result(true) |
Friends | |
| struct | AsyncEventLoop |
| struct | AsyncRequest |
Additional Inherited Members | |
Public Attributes inherited from SC::AsyncSequence | |
| AsyncSequence * | next = nullptr |
| AsyncSequence * | prev = nullptr |
| bool | clearSequenceOnCancel = true |
| Do not queue next requests in the sequence when current one is cancelled. | |
| bool | clearSequenceOnError = true |
| Do not queue next requests in the sequence when current one returns error. | |
An AsyncSequence using a SC::ThreadPool to execute one or more SC::AsyncRequest in a background thread.
Calling SC::AsyncRequest::executeOn on multiple requests with the same SC::AsyncTaskSequence queues them to be serially executed on the same thread.