Reorder Source/FlowWithContext type parameters #26345

This commit is contained in:
Heiko Seeberger 2019-02-21 14:24:35 +01:00 committed by Johan Andrén
parent 96b72c2b7b
commit 555fe026d0
10 changed files with 83 additions and 78 deletions

View file

@ -3472,6 +3472,6 @@ final class Source[Out, Mat](delegate: scaladsl.Source[Out, Mat]) extends Graph[
* API MAY CHANGE
*/
@ApiMayChange
def startContextPropagation[Ctx](extractContext: function.Function[Out, Ctx]): SourceWithContext[Ctx, Out, Mat] =
def startContextPropagation[Ctx](extractContext: function.Function[Out, Ctx]): SourceWithContext[Out, Ctx, Mat] =
new scaladsl.SourceWithContext(this.asScala.map(x (x, extractContext.apply(x)))).asJava
}