Note on conditions of usage

pull/17806/head
Yash Tibrewal 6 years ago
parent 3a2cfe50ec
commit 5e2e61b6e5
  1. 1
      include/grpcpp/impl/codegen/interceptor_common.h

@ -219,6 +219,7 @@ class InterceptorBatchMethodsImpl
// Alternatively, RunInterceptors(std::function<void(void)> f) can be used.
void SetCallOpSetInterface(CallOpSetInterface* ops) { ops_ = ops; }
// SetCall should have been called before this.
// Returns true if the interceptors list is empty
bool InterceptorsListEmpty() {
auto* client_rpc_info = call_->client_rpc_info();

Loading…
Cancel
Save