Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Service Arch 2022-12-26, Service Arch 2022-11-14, Service Arch 2022-11-28, Service Arch 2022-12-12, Service Arch 2023-01-09
Description
The overloads of async_rpc::sendCommand and async_rpc::sendHedgedCommand that accept an OperationContext should also optionally accept a baton, in addition to a TaskExecutor. When a baton is provided, it should be used to run continuations that the rpc layer schedules before and after sending a command to the network via TaskExecutor::scheduleRemoteCommand. It should additionally be passed to the lower networking layers so that it can be used for polling if it is a NetworkingBaton.