olp-cpp-sdk
1.22.0
|
A template for Continuation
of the void type.
More...
#include <Continuation.h>
Public Member Functions | |
Continuation ()=delete | |
Do not create the deleted Continuation constructor as an instance. | |
template<typename Callable > | |
Continuation< internal::AsyncResultType< Callable > > | Then (Callable task) |
Adds the next asynchronous task to the ContinuationImpl instance. More... | |
template<typename NewType > | |
internal::ContinuationImpl::ContinuationTask | ToAsyncTask (ExecutionContext context, std::function< void(ExecutionContext, std::function< void(NewType)>)> func) |
A template for Continuation
of the void type.
It has the same interface as the generic version.
Continuation< internal::AsyncResultType< Callable > > olp::thread::Continuation< void >::Then | ( | Callable | task | ) |
Adds the next asynchronous task to the ContinuationImpl
instance.
task | The ContinuationTask instance. It represents a task that you want to add to the continuation chain. |
Continuation
instance.