[API] Document gotcha in AsyncNotifyWhenDone behavior (#33208)
As the [issue](https://github.com/grpc/grpc/issues/10136) documents, the behavior of AsyncNotifyWhenDone is documented as: "The comment on `AsyncNotifyWhenDone` states "Has to be called before the rpc starts" but it seems that if the request tag is returned with ok=false (i.e. because the CQ is shutting down) then the async done tag is never received. Instead, I expect the async done tag to be received regardless of whether or not an incoming call request was successfully received." The TODO item is marked closed as stale, and it seems unlikely this will be resolved, without breaking existing users whose code is written under the assumption that the tag is not seen if the call never starts, so it may be time to documented the idiosyncratic corner case and make it the expected behavior.pull/33232/head
parent
0d3ecd3e63
commit
20023faa2e
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue