Go context.Background()的C ++等效项是什么?

If I understand ::grpc::ServerContext correctly, there is no way to obtain an empty one.

So is the idea that all my methods should work with ::grpc::ClientContext instead?

If not, what is the equivalent of the Go context.Background() call, that allows me to fetch a context for command line utilities and such.

评论