format source with scalafmt
This commit is contained in:
parent
0f40491d42
commit
ce404e4f53
1669 changed files with 43208 additions and 35404 deletions
|
|
@ -15,7 +15,7 @@ import language.higherKinds
|
|||
* INTERNAL API
|
||||
*/
|
||||
@InternalApi private[akka] object SubFlowImpl {
|
||||
trait MergeBack[In, F[+_]] {
|
||||
trait MergeBack[In, F[+ _]] {
|
||||
def apply[T](f: Flow[In, T, NotUsed], breadth: Int): F[T]
|
||||
}
|
||||
}
|
||||
|
|
@ -23,11 +23,10 @@ import language.higherKinds
|
|||
/**
|
||||
* INTERNAL API
|
||||
*/
|
||||
@InternalApi private[akka] class SubFlowImpl[In, Out, Mat, F[+_], C](
|
||||
val subFlow: Flow[In, Out, NotUsed],
|
||||
mergeBackFunction: SubFlowImpl.MergeBack[In, F],
|
||||
finishFunction: Sink[In, NotUsed] => C)
|
||||
extends SubFlow[Out, Mat, F, C] {
|
||||
@InternalApi private[akka] class SubFlowImpl[In, Out, Mat, F[+ _], C](val subFlow: Flow[In, Out, NotUsed],
|
||||
mergeBackFunction: SubFlowImpl.MergeBack[In, F],
|
||||
finishFunction: Sink[In, NotUsed] => C)
|
||||
extends SubFlow[Out, Mat, F, C] {
|
||||
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue