aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/RxLibrary/GRXConcurrentWriteable.h
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-04-05 13:12:30 -0700
committerGravatar Muxi Yan <mxyan@google.com>2017-04-05 13:12:30 -0700
commit895f3d83da12664e59379d9ce6cccb8ab9f244b7 (patch)
treeb6c3b992787dc3cd607138443a9cef9ff39b6f70 /src/objective-c/RxLibrary/GRXConcurrentWriteable.h
parent80b4a8af196524ebda6907a20361307fecd1a757 (diff)
Support configuring dispatch queue in GRPCCall and below
Diffstat (limited to 'src/objective-c/RxLibrary/GRXConcurrentWriteable.h')
-rw-r--r--src/objective-c/RxLibrary/GRXConcurrentWriteable.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/objective-c/RxLibrary/GRXConcurrentWriteable.h b/src/objective-c/RxLibrary/GRXConcurrentWriteable.h
index b2775f98b5..07004f6d4d 100644
--- a/src/objective-c/RxLibrary/GRXConcurrentWriteable.h
+++ b/src/objective-c/RxLibrary/GRXConcurrentWriteable.h
@@ -53,7 +53,9 @@
* The GRXWriteable instance is retained until writesFinishedWithError: is sent to it, and released
* after that.
*/
-- (instancetype)initWithWriteable:(id<GRXWriteable>)writeable NS_DESIGNATED_INITIALIZER;
+- (instancetype)initWithWriteable:(id<GRXWriteable>)writeable
+ dispatchQueue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+- (instancetype)initWithWriteable:(id<GRXWriteable>)writeable;
/**
* Enqueues writeValue: to be sent to the writeable in the main thread.