make Map a GraphStage
This commit is contained in:
parent
b498347933
commit
5382014133
10 changed files with 108 additions and 75 deletions
|
|
@ -475,7 +475,7 @@ trait FlowOps[+Out, +Mat] {
|
|||
* '''Cancels when''' downstream cancels
|
||||
*
|
||||
*/
|
||||
def map[T](f: Out ⇒ T): Repr[T] = andThen(Map(f))
|
||||
def map[T](f: Out ⇒ T): Repr[T] = via(Map(f))
|
||||
|
||||
/**
|
||||
* Transform each input element into an `Iterable` of output elements that is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue