3 #include <Poco/Nullable.h>
6 #include "util/AnyAsyncWork.h"
20 template <
typename Result = Poco::Vo
id>
23 typedef Poco::SharedPtr<AsyncWork> Ptr;
33 virtual Poco::Nullable<Result>
result()
const;
36 template <
typename Result>
39 static const Poco::Nullable<Result> null;
AnyAsyncWork represents an asynchronous work to be processed. Such work is defined only in terms of e...
Definition: AnyAsyncWork.h:15
virtual Poco::Nullable< Result > result() const
If the asynchronous operation provides a result, this method gives access to it. Until the operation ...
Definition: AsyncWork.h:37
AsyncWork is an interface allowing to wait until an asynchronous operation finishes. It is also possible to force-stop it by calling cancel().
Definition: AsyncWork.h:21