=str #20229 groupBy should be a Graph stage (#20344)

This commit is contained in:
Alexander Golubev 2016-05-23 11:31:49 +03:00 committed by Patrik Nordwall
parent 74b8d749b6
commit 03395d5739
15 changed files with 402 additions and 479 deletions

View file

@ -19,9 +19,6 @@ class SubFlowImpl[In, Out, Mat, F[+_], C](val subFlow: Flow[In, Out, NotUsed],
finishFunction: Sink[In, NotUsed] C)
extends SubFlow[Out, Mat, F, C] {
override def deprecatedAndThen[U](op: Stages.StageModule): SubFlow[U, Mat, F, C] =
new SubFlowImpl[In, U, Mat, F, C](subFlow.deprecatedAndThen(op), mergeBackFunction, finishFunction)
override def via[T, Mat2](flow: Graph[FlowShape[Out, T], Mat2]): Repr[T] =
new SubFlowImpl[In, T, Mat, F, C](subFlow.via(flow), mergeBackFunction, finishFunction)