Add comments for map function
This commit is contained in:
parent
44e1837ef9
commit
01bbf87bf7
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue