diff options
author | 2017-03-07 18:54:24 -0800 | |
---|---|---|
committer | 2017-03-07 18:54:24 -0800 | |
commit | 35653011a32eace36c82eb7224faee2be15a09de (patch) | |
tree | c6038cc35941d67161588c853a5444c6a9a7c38c /src/objective-c/GRPCClient/GRPCCall.m | |
parent | d5bac0d38dfba3d9efec45ecbdf9c45678be13f9 (diff) |
Add comments
Diffstat (limited to 'src/objective-c/GRPCClient/GRPCCall.m')
-rw-r--r-- | src/objective-c/GRPCClient/GRPCCall.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCall.m b/src/objective-c/GRPCClient/GRPCCall.m index da861f6fca..ff47465012 100644 --- a/src/objective-c/GRPCClient/GRPCCall.m +++ b/src/objective-c/GRPCClient/GRPCCall.m @@ -286,6 +286,8 @@ static NSMutableDictionary *callFlags; // Only called from the call queue. The error handler will be called from the // network queue if the write didn't succeed. +// If the call is a unary call, parameter \a errorHandler will be ignored and +// the error handler of GRPCOpSendClose will be executed in case of error. - (void)writeMessage:(NSData *)message withErrorHandler:(void (^)())errorHandler { __weak GRPCCall *weakSelf = self; |