!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
|
|
@ -235,7 +235,7 @@ final case class ActorFlowMaterializerSettings(
|
|||
/**
|
||||
* Scala API: Decides how exceptions from application code are to be handled, unless
|
||||
* overridden for specific flows of the stream operations with
|
||||
* [[akka.stream.scaladsl.OperationAttributes#supervisionStrategy]].
|
||||
* [[akka.stream.OperationAttributes#supervisionStrategy]].
|
||||
*/
|
||||
def withSupervisionStrategy(decider: Supervision.Decider): ActorFlowMaterializerSettings =
|
||||
copy(supervisionDecider = decider)
|
||||
|
|
@ -243,7 +243,7 @@ final case class ActorFlowMaterializerSettings(
|
|||
/**
|
||||
* Java API: Decides how exceptions from application code are to be handled, unless
|
||||
* overridden for specific flows of the stream operations with
|
||||
* [[akka.stream.javadsl.OperationAttributes#supervisionStrategy]].
|
||||
* [[akka.stream.OperationAttributes#supervisionStrategy]].
|
||||
*/
|
||||
def withSupervisionStrategy(decider: japi.Function[Throwable, Supervision.Directive]): ActorFlowMaterializerSettings = {
|
||||
import Supervision._
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue