| IStageTIn, TOut Interface |
Note: This API is now obsolete.
General interface for stream transformation.
Custom
IStageTIn, TOut implementations are intended to be used with
TransformTIn, TOut1, TOut2, TMat(FlowTIn, TOut1, TMat, FuncIStageTOut1, TOut2) to extend the
FlowOperations API when there
is no specialized operator that performs the transformation.
Custom implementations are subclasses of
PushPullStageTIn, TOut or
DetachedStageTIn, TOut. Sometimes it is convenient to extend
StatefulStageTIn, TOut for support of become like behavior.
It is possible to keep state in the concrete
IStageTIn, TOut instance with
ordinary instance variables. The
ITransformerLikeTIn, TOut is executed by an actor and
therefore you do not have to add any additional thread safety or memory
visibility constructs to access the state from the callback methods.
Namespace:
Akka.Streams.Stage
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax [ObsoleteAttribute("Please use GraphStage instead. [1.1.0]")]
public interface IStage<in TIn, out TOut>
[<ObsoleteAttribute("Please use GraphStage instead. [1.1.0]")>]
type IStage<'TIn, 'TOut> = interface end
Type Parameters
- TIn
- TBD
- TOut
- TBD
See Also