Click or drag to resize
Akka.NETAbstractStageTIn, 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
)

Parameters

cause
Type: SystemException
TBD

Return Value

Type: Directive
TBD
See Also