Public Member Functions | |
AsyncTaskFuture (const std::vector< AsyncTaskFuture * > &futures) | |
AsyncTaskFuture (const AsyncTaskFuture &)=delete | |
AsyncTaskFuture & | operator= (const AsyncTaskFuture &)=delete |
bool | IsCompleted () const |
bool | IsFailed () const |
std::string | ErrorMessage () const |
void | Wait () const |
void | SetCallback (std::function< void(const AsyncTaskFuture *)> callback) |
void | SetCompleted (const char *err_msg=nullptr) |
void | ResetState () |
Definition at line 18 of file net_async_task_future.h.