+str #18411 add FlowOps.zip/zipWith/merge/concat operators

This commit is contained in:
Alexander Golubev 2015-10-04 08:40:13 -04:00
parent c8428a1bc3
commit 3fa1de9e71

View file

@ -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.