From ae168166e2534288ca27e0c038fe1fc4168c2bbf Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Thu, 10 Oct 2019 11:20:17 -0700 Subject: [PATCH] nit fix --- src/objective-c/ProtoRPC/ProtoRPC.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/objective-c/ProtoRPC/ProtoRPC.h b/src/objective-c/ProtoRPC/ProtoRPC.h index 33d349ce95a..f1565ba827e 100644 --- a/src/objective-c/ProtoRPC/ProtoRPC.h +++ b/src/objective-c/ProtoRPC/ProtoRPC.h @@ -81,10 +81,10 @@ NS_ASSUME_NONNULL_BEGIN * * responseHandler: The unary handler to be called when the call is completed. * responseDispatchQueue: the dispatch queue on which the response handler - * should be issued. + * should be issued. If it's nil, the handler will use the main queue. */ - (nullable instancetype)initWithResponseHandler:(void (^)(GPBMessage *, NSError *))handler - responseDispatchQueue:(nullable dispatch_queue_t)responseDispatchQueue; + responseDispatchQueue:(nullable dispatch_queue_t)dispatchQueue; /** Response headers received during the call. */ @property(readonly, nullable) NSDictionary *responseHeaders;