Google Cloud C++ Client  1.32.1
C++ Client Library for Google Cloud Platform
Public Member Functions | List of all members
google::cloud::v1::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 41 of file async_operation.h.

Constructor & Destructor Documentation

◆ ~AsyncOperation()

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

Member Function Documentation

◆ Cancel()

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

Requests that the operation be canceled.