eclipse-vertx / eclipse-vertx/vert.x
readStream mapping to other type of readStream to support pipe
Open
enhancement
- Dominant language
- Java
- Stars
- 14.7k
- Forks
- 2.1k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 28
Description
#### Read me
readStream mapping to other type of readStream to support pipe
#### Describe the feature
ReadStream rs;
WriteStream 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;
```java
rs.map(Integer::toString).pipeTo(ws);
```
Contributor guide
Assessment
This issue has not been assessed yet.