aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/RxLibrary/GRXForwardingWriter.h
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-12-21 16:21:18 -0800
committerGravatar Muxi Yan <mxyan@google.com>2019-01-07 10:27:20 -0800
commit03232ba46fba25465341b5e9632344f102f9df83 (patch)
tree8ceb60b21a1105b4f894a8eedd28736cc8fa8b35 /src/objective-c/RxLibrary/GRXForwardingWriter.h
parent5e10a3b037bcd20ab17428ccb765ba9464eb3644 (diff)
Polish comments and correct concurrent writeable behavior
Diffstat (limited to 'src/objective-c/RxLibrary/GRXForwardingWriter.h')
-rw-r--r--src/objective-c/RxLibrary/GRXForwardingWriter.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/objective-c/RxLibrary/GRXForwardingWriter.h b/src/objective-c/RxLibrary/GRXForwardingWriter.h
index 3814ff8831..00366b6416 100644
--- a/src/objective-c/RxLibrary/GRXForwardingWriter.h
+++ b/src/objective-c/RxLibrary/GRXForwardingWriter.h
@@ -25,11 +25,7 @@
* input writer, and for classes that represent objects with input and
* output sequences of values, like an RPC.
*
- * Thread-safety:
- * All messages sent to this object need to be serialized. When it is started, the writer it wraps
- * is started in the same thread. Manual state changes are propagated to the wrapped writer in the
- * same thread too. Importantly, all messages the wrapped writer sends to its writeable need to be
- * serialized with any message sent to this object.
+ * Thread-safety: the methods of this class are thread safe.
*/
@interface GRXForwardingWriter : GRXWriter
- (instancetype)initWithWriter:(GRXWriter *)writer NS_DESIGNATED_INITIALIZER;