Struct GrpcBackgroundThreadsFactoryOption (2.34.0-rc)

Changes the BackgroundThreadsFactory.

Connections need to perform background work on behalf of the application. Normally they just create a background thread and a CompletionQueue for this work, but the application may need more fine-grained control of their threads.

In this case the application can provide its own BackgroundThreadsFactory and it assumes responsibility for creating one or more threads blocked on its CompletionQueue::Run().

Type Aliases

Type

Alias Of: BackgroundThreadsFactory