| ITransformerLikeTIn, TOutOnTermination Method |
Invoked before the Transformer terminates (either normal completion or after an onError)
to produce a (possibly empty) sequence of elements in response to the
end-of-stream event.
This method is only called if
OnError(Exception) does not throw an exception. The default implementation
of
OnError(Exception) throws the received cause forcing the failure to propagate downstream immediately.
Namespace:
Akka.Streams
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax IEnumerable<TOut> OnTermination(
Exception cause
)
abstract OnTermination :
cause : Exception -> IEnumerable<'TOut>
Parameters
- cause
- Type: SystemException
Contains a non-empty option with the error causing the termination or an empty option
if the Transformer was completed normally
Return Value
Type:
IEnumerableTOut[Missing <returns> documentation for "M:Akka.Streams.ITransformerLike`2.OnTermination(System.Exception)"]
See Also