ITransformerLikeTIn, TOut Interface |
Namespace: Akka.Streams
The ITransformerLikeTIn, TOut type exposes the following members.
Name | Description | |
---|---|---|
IsComplete |
Invoked after handing off the elements produced from one input element to the
downstream subscribers to determine whether to end stream processing at this point;
in that case the upstream subscription is canceled.
|
Name | Description | |
---|---|---|
Cleanup |
Invoked after normal completion or failure.
| |
OnError |
Invoked when failure is signaled from upstream. If this method throws an exception, then onError is immediately
propagated downstream. If this method completes normally then OnTermination(Exception) is invoked as a final
step, passing the original cause.
| |
OnNext |
Invoked for each element to produce a (possibly empty) sequence of
output elements.
| |
OnTermination |
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.
|