| AbstractStageTIn, TOutDecide Method |
If an exception is thrown from
OnPush(TIn, IContext) this method is invoked to decide how
to handle the exception. By default this method returns
Stop.
If an exception is thrown from OnPull(IContext) the stream will always be completed with
failure, because it is not always possible to recover from that state.
In concrete stages it is of course possible to use ordinary try-catch-recover inside
OnPull(IContext) when it is know how to recover from such exceptions.
Namespace:
Akka.Streams.Stage
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public virtual Directive Decide(
Exception cause
)
abstract Decide :
cause : Exception -> Directive
override Decide :
cause : Exception -> Directive
Parameters
- cause
- Type: SystemException
TBD
Return Value
Type:
DirectiveTBD
See Also