Skip to content
Snippets Groups Projects
Commit 29a912df authored by Muxi Yan's avatar Muxi Yan
Browse files

Add more comments

parent c2e53b5a
No related branches found
No related tags found
No related merge requests found
...@@ -76,6 +76,9 @@ ...@@ -76,6 +76,9 @@
// Overrides [requestWriter(Transformations):map:] for Protocol Buffers // Overrides [requestWriter(Transformations):map:] for Protocol Buffers
// encoding. // encoding.
// We need the return value of this map to be a GRXImmediateSingleWriter but
// the original \a map function returns a new Writer of another type. So we
// need to override this function here.
- (GRXWriter *)map:(id (^)(id))map { - (GRXWriter *)map:(id (^)(id))map {
// Since _value is available when creating the object, we can simply // Since _value is available when creating the object, we can simply
// apply the map and store the output. // apply the map and store the output.
...@@ -83,4 +86,4 @@ ...@@ -83,4 +86,4 @@
return self; return self;
} }
@end @end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment