Rename start/endContextPropagation functions to asFlow/Source.. (#26353)
To match FlowWithContext.asFlow
This commit is contained in:
parent
ff9289a089
commit
5a425c1dc7
10 changed files with 49 additions and 43 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue