diff options
author | Muxi Yan <mxyan@google.com> | 2018-12-06 15:58:53 -0800 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2018-12-06 15:58:53 -0800 |
commit | f9e50322bf1d6be736b415831eea44130b9dedfe (patch) | |
tree | 7da2c7f0be6c10a05303e5215c1630df339744ea /src/objective-c/GRPCClient/GRPCCall.h | |
parent | eeced98fc556c6a5bc3a5dedc171c98747217078 (diff) |
batch fix
Diffstat (limited to 'src/objective-c/GRPCClient/GRPCCall.h')
-rw-r--r-- | src/objective-c/GRPCClient/GRPCCall.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCall.h b/src/objective-c/GRPCClient/GRPCCall.h index 985743433c..6d8b9c1b12 100644 --- a/src/objective-c/GRPCClient/GRPCCall.h +++ b/src/objective-c/GRPCClient/GRPCCall.h @@ -153,6 +153,14 @@ extern NSString *const kGRPCTrailersKey; /** An object can implement this protocol to receive responses from server from a call. */ @protocol GRPCResponseHandler<NSObject> +@required + +/** + * All the responses must be issued to a user-provided dispatch queue. This property specifies the + * dispatch queue to be used for issuing the notifications. + */ +@property(atomic, readonly) dispatch_queue_t dispatchQueue; + @optional /** @@ -175,14 +183,6 @@ extern NSString *const kGRPCTrailersKey; - (void)didCloseWithTrailingMetadata:(nullable NSDictionary *)trailingMetadata error:(nullable NSError *)error; -@required - -/** - * All the responses must be issued to a user-provided dispatch queue. This property specifies the - * dispatch queue to be used for issuing the notifications. - */ -@property(atomic, readonly) dispatch_queue_t dispatchQueue; - @end /** |