!str #17189 Add withAttributes and named to Graph
* Remove optional attributes parameter in favor of withAttributes * Overload explosion when trying to add attributes to ZipWith. * Aligned with Flow and Source.
This commit is contained in:
parent
c98aee55ed
commit
c6404d3e44
24 changed files with 296 additions and 212 deletions
|
|
@ -498,10 +498,10 @@ class Source[+Out, +Mat](delegate: scaladsl.Source[Out, Mat]) extends Graph[Sour
|
|||
def flatten[U](strategy: FlattenStrategy[Out, U]): javadsl.Source[U, Mat] =
|
||||
new Source(delegate.flatten(strategy))
|
||||
|
||||
def withAttributes(attr: OperationAttributes): javadsl.Source[Out, Mat] =
|
||||
override def withAttributes(attr: OperationAttributes): javadsl.Source[Out, Mat] =
|
||||
new Source(delegate.withAttributes(attr))
|
||||
|
||||
def named(name: String): javadsl.Source[Out, Mat] =
|
||||
override def named(name: String): javadsl.Source[Out, Mat] =
|
||||
new Source(delegate.named(name))
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue