Add comments for map function

This commit is contained in:
Muxi Yan 2017-03-10 15:02:28 -08:00
parent 44e1837ef9
commit 01bbf87bf7
1 changed files with 4 additions and 0 deletions

View File

@ -75,7 +75,11 @@
return;
}
// Overrides [requestWriter(Transformations):map:] for Protocol Buffers
// encoding.
- (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);
return self;
}