Add comments

pull/9247/head
Muxi Yan 8 years ago
parent d5bac0d38d
commit 35653011a3
  1. 2
      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 // Only called from the call queue. The error handler will be called from the
// network queue if the write didn't succeed. // 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 { - (void)writeMessage:(NSData *)message withErrorHandler:(void (^)())errorHandler {
__weak GRPCCall *weakSelf = self; __weak GRPCCall *weakSelf = self;

Loading…
Cancel
Save