Merge pull request #17129 from yashykt/cancelinterceptorcomment

Add comment on cancellation being forever alone in the batch
pull/16931/head^2
Yash Tibrewal 6 years ago committed by GitHub
commit 38c6b2c72a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      include/grpcpp/impl/codegen/interceptor.h

@ -57,9 +57,11 @@ enum class InterceptionHookPoints {
POST_RECV_STATUS /* client only */,
POST_RECV_CLOSE /* server only */,
/* This is a special hook point available to both clients and servers when
TryCancel() is performed. It is illegal for an interceptor to block/delay
this operation. ALL interceptors see this hook point irrespective of
whether the RPC was hijacked or not. */
TryCancel() is performed.
- No other hook points will be present along with this.
- It is illegal for an interceptor to block/delay this operation.
- ALL interceptors see this hook point irrespective of whether the RPC was
hijacked or not. */
PRE_SEND_CANCEL,
NUM_INTERCEPTION_HOOKS
};

Loading…
Cancel
Save