Execute AsyncRequests serially, by submitting the next one after the previous one is completed. More...
#include <Async.h>
Public Attributes | |
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. | |
Friends | |
struct | AsyncEventLoop |
Execute AsyncRequests serially, by submitting the next one after the previous one is completed.
Requests are being queued on a sequence using AsyncRequest::executeOn. AsyncTaskSequence can be used to force running asyncs on a thread (useful for buffered files)
bool SC::AsyncSequence::clearSequenceOnCancel = true |
Do not queue next requests in the sequence when current one is cancelled.
bool SC::AsyncSequence::clearSequenceOnError = true |
Do not queue next requests in the sequence when current one returns error.