Click or drag to resize
Akka.NETITransformerLikeTIn, TOut Interface
TBD

Namespace:  Akka.Streams
Assembly:  Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public interface ITransformerLike<in TIn, out TOut>

Type Parameters

TIn
TBD
TOut
TBD

The ITransformerLikeTIn, TOut type exposes the following members.

Properties
  NameDescription
Public propertyIsComplete
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.
Top
Methods
  NameDescription
Public methodCleanup
Invoked after normal completion or failure.
Public methodOnError
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.
Public methodOnNext
Invoked for each element to produce a (possibly empty) sequence of output elements.
Public methodOnTermination
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.
Top
See Also