You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Client operation functions should create local internal::OptionsSpan objects, with at least the default options for the service, so that our internal libraries can use internal::CurrentOptions() to obtain information about the call that is otherwise difficult to plumb through the various layers.
In general, the ServiceConnectionImpl and ServiceClient constructors, and the Service::Operation() function should look like:
This is already true for the generated libraries, but we need to ensure that the hand-written libraries follow the same pattern.
Some libraries may not yet have connection-, client-, or operation-specific Options, so you'll have to work with what you have, but the minimal operation function should be:
Instructions
Client operation functions should create local
internal::OptionsSpan
objects, with at least the default options for the service, so that our internal libraries can useinternal::CurrentOptions()
to obtain information about the call that is otherwise difficult to plumb through the various layers.In general, the
ServiceConnectionImpl
andServiceClient
constructors, and theService::Operation()
function should look like:This is already true for the generated libraries, but we need to ensure that the hand-written libraries follow the same pattern.
Some libraries may not yet have connection-, client-, or operation-specific
Options
, so you'll have to work with what you have, but the minimal operation function should be:Library List
The text was updated successfully, but these errors were encountered: