Google Cloud C++ Client 2.10.1
C++ Client Library for Google Cloud Platform
Loading...
Searching...
No Matches
Public Types | List of all members
google::cloud::GrpcCompletionQueueOption Struct Reference

The CompletionQueue to use for background gRPC work. More...

#include <google/cloud/grpc_options.h>

Public Types

using Type = CompletionQueue
 

Detailed Description

The CompletionQueue to use for background gRPC work.

If this option is set, the library will use the supplied CompletionQueue instead of its own. The caller is responsible for making sure there are thread(s) servicing this CompletionQueue. The client library will not create any background threads or attempt to call CompletionQueue::Run().

Note
GrpcBackgroundThreadPoolSizeOption, GrpcCompletionQueueOption, and GrpcBackgroundThreadsFactoryOption are mutually exclusive.

Member Typedef Documentation

◆ Type