Google Cloud C++ Client 2.10.1
C++ Client Library for Google Cloud Platform
Loading...
Searching...
No Matches
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.

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.