vert.x icon indicating copy to clipboard operation
vert.x copied to clipboard

readStream mapping to other type of readStream to support pipe

Open wang007 opened this issue 4 years ago • 1 comments

Read me

readStream mapping to other type of readStream to support pipe

Describe the feature

ReadStream<Integer> rs; WriteStream<String> ws;

when ReadStream of sub type and WriteStream of sub type do not match, Pipe cannot be performed. so add map function to support this;

rs.map(Integer::toString).pipeTo(ws);

wang007 avatar Oct 14 '21 06:10 wang007

#4126

wang007 avatar Oct 14 '21 06:10 wang007