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

Add comments for map function

parent 44e1837e
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,11 @@ ...@@ -75,7 +75,11 @@
return; return;
} }
// Overrides [requestWriter(Transformations):map:] for Protocol Buffers
// encoding.
- (GRXWriter *)map:(id (^)(id))map { - (GRXWriter *)map:(id (^)(id))map {
// Since _value is available when creating the object, we can simply
// apply the map and store the output.
_value = map(_value); _value = map(_value);
return self; return self;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment