Rename start/endContextPropagation functions to asFlow/Source.. (#26353)

To match FlowWithContext.asFlow
This commit is contained in:
Luc Bourlier 2019-03-04 15:48:24 +01:00 committed by Patrik Nordwall
parent ff9289a089
commit 5a425c1dc7
10 changed files with 49 additions and 43 deletions

View file

@ -220,7 +220,7 @@ final class Source[+Out, +Mat](
* API MAY CHANGE
*/
@ApiMayChange
def startContextPropagation[Ctx](f: Out Ctx): SourceWithContext[Out, Ctx, Mat] = new SourceWithContext(this.map(e (e, f(e))))
def asSourceWithContext[Ctx](f: Out Ctx): SourceWithContext[Out, Ctx, Mat] = new SourceWithContext(this.map(e (e, f(e))))
}
object Source {