Google Cloud C++ Client  2.7.0
C++ Client Library for Google Cloud Platform
Public Member Functions | List of all members
google::cloud::AsyncOperation Class Referenceabstract

Represents a pending asynchronous operation. More...

#include <google/cloud/async_operation.h>

Public Member Functions

virtual ~AsyncOperation ()=default
 
virtual void Cancel ()=0
 Requests that the operation be canceled. More...
 

Detailed Description

Represents a pending asynchronous operation.

It can either be a simple RPC, or a more complex operation involving potentially many RPCs, sleeping and processing.

Definition at line 42 of file async_operation.h.

Constructor & Destructor Documentation

◆ ~AsyncOperation()

virtual google::cloud::AsyncOperation::~AsyncOperation ( )
virtualdefault

Member Function Documentation

◆ Cancel()

virtual void google::cloud::AsyncOperation::Cancel ( )
pure virtual

Requests that the operation be canceled.