15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_ASYNC_OPERATION_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_ASYNC_OPERATION_H
18#include "google/cloud/version.h"
19#include <grpcpp/grpcpp.h>
27
28
29
30
32 std::chrono::system_clock::time_point
deadline;
37
38
39
40
41
47
48
55
56
57
58
59
60
61
62
63
64
65
66
67
71
72
73
74
75
76
77
78
79
80
81
82 virtual bool Notify(
bool ok) = 0;
Represents a pending asynchronous operation.
Definition: async_operation.h:42
virtual ~AsyncOperation()=default
virtual void Cancel()=0
Requests that the operation be canceled.
Contains all the Google Cloud C++ Library APIs.
Definition: async_operation.h:23
Definition: async_operation.h:22
The result of an async timer operation.
Definition: async_operation.h:31
bool cancelled
Definition: async_operation.h:33
std::chrono::system_clock::time_point deadline
Definition: async_operation.h:32
#define GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Definition: version.h:45
#define GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
Definition: version.h:43