google-cloud-cpp
google-cloud-cpp copied to clipboard
Refactor how DefaultRowReader determines when to call OperationContext::PostCall
It would be nice to remove the recently added bool called_post_call_; member variable and instead refactor how the internal state machine works to ensure OperationContext::PostCall is only called once regardless of success, error, or cancellation.