make FlowOps(Mat).Repr(Mat) safe and precise

This commit is contained in:
Roland Kuhn 2015-12-30 21:15:04 +01:00
parent cf1a5611a8
commit ec3858e893
4 changed files with 45 additions and 25 deletions

View file

@ -5,7 +5,6 @@ package akka.stream.impl
import akka.stream._
import akka.stream.scaladsl._
import language.higherKinds
object SubFlowImpl {
@ -37,5 +36,4 @@ class SubFlowImpl[In, Out, Mat, F[+_], C](val subFlow: Flow[In, Out, Unit],
override def mergeSubstreamsWithParallelism(breadth: Int): F[Out] = mergeBackFunction(subFlow, breadth)
def to[M](sink: Graph[SinkShape[Out], M]): C = finishFunction(subFlow.to(sink))
}