3rdparty / eventuals-grpc

C++ asynchronous interface for gRPC based on https://github.com/3rdparty/eventuals.
Apache License 2.0
20 stars 5 forks source link

Add 'Client::Context()' to simplify 'Client::Call()' #41

Closed benh closed 3 years ago

benh commented 3 years ago

Instead of requiring users of the client API to have to store their own ClientContext we provide an overload of Call() which includes a context as part of the eventual pipeline so that its address will be stable. This allows us to remove declaring ClientContext in all of the tests that use a default context.