+str #18411 add FlowOps.zip/zipWith/merge/concat operators
This commit is contained in:
parent
c8428a1bc3
commit
3fa1de9e71
1 changed files with 1 additions and 1 deletions
|
|
@ -377,7 +377,7 @@ class Source[+Out, +Mat](delegate: scaladsl.Source[Out, Mat]) extends Graph[Sour
|
|||
* '''Cancels when''' downstream cancels
|
||||
*/
|
||||
def zip[T](that: Graph[SourceShape[T], _]): javadsl.Source[Out @uncheckedVariance Pair T, Mat] =
|
||||
zipMat(that, combinerToJava((a: Mat, b: Any) ⇒ a))
|
||||
zipMat(that, Keep.left)
|
||||
|
||||
/**
|
||||
* Combine the elements of current [[Source]] and the given one into a stream of tuples.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue