public:
/// Checks the status of the task and immediately returns.
virtual Status check() = 0;
/// Waits for the task to finish and returns its final status.
virtual Status wait() = 0;
public:
/// Checks the status of the task and immediately returns.
virtual Status check() = 0;
/// Waits for the task to finish and returns its final status.
virtual Status wait() = 0;