Document why a grpc_op ivar, and the role of -finish

pull/2156/head
Jorge Canizales 10 years ago
parent 8d99775295
commit 884870461d
  1. 1
      src/objective-c/GRPCClient/private/GRPCWrappedCall.h
  2. 2
      src/objective-c/GRPCClient/private/GRPCWrappedCall.m

@ -38,6 +38,7 @@
@interface GRPCOperation : NSObject
@property(nonatomic, readonly) grpc_op op;
// Guaranteed to be called when the operation has finished.
- (void)finish;
@end

@ -43,6 +43,8 @@
@implementation GRPCOperation {
@protected
// Most operation subclasses don't set any flags in the grpc_op, and rely on the flag member being
// initialized to zero.
grpc_op _op;
void(^_handler)();
}

Loading…
Cancel
Save