#19261 override and test addAttributes compilation
This commit is contained in:
parent
0f3d3c21e1
commit
8a5a420108
20 changed files with 249 additions and 17 deletions
|
|
@ -1040,9 +1040,28 @@ class SubFlow[-In, +Out, +Mat](delegate: scaladsl.SubFlow[Out, Mat, scaladsl.Flo
|
|||
def initialDelay(delay: FiniteDuration): SubFlow[In, Out, Mat] =
|
||||
new SubFlow(delegate.initialDelay(delay))
|
||||
|
||||
/**
|
||||
* Change the attributes of this [[Source]] to the given ones and seal the list
|
||||
* of attributes. This means that further calls will not be able to remove these
|
||||
* attributes, but instead add new ones. Note that this
|
||||
* operation has no effect on an empty Flow (because the attributes apply
|
||||
* only to the contained processing stages).
|
||||
*/
|
||||
def withAttributes(attr: Attributes): SubFlow[In, Out, Mat] =
|
||||
new SubFlow(delegate.withAttributes(attr))
|
||||
|
||||
/**
|
||||
* Add the given attributes to this Source. Further calls to `withAttributes`
|
||||
* will not remove these attributes. Note that this
|
||||
* operation has no effect on an empty Flow (because the attributes apply
|
||||
* only to the contained processing stages).
|
||||
*/
|
||||
def addAttributes(attr: Attributes): SubFlow[In, Out, Mat] =
|
||||
new SubFlow(delegate.addAttributes(attr))
|
||||
|
||||
/**
|
||||
* Add a ``name`` attribute to this Flow.
|
||||
*/
|
||||
def named(name: String): SubFlow[In, Out, Mat] =
|
||||
new SubFlow(delegate.named(name))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue