eclipse-vertx / eclipse-vertx/vert.x

readStream mapping to other type of readStream to support pipe

Open
#4,138 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.