Class LastElement<T>
This stage materializes to the last element pushed before upstream completion, if any, thereby recovering from any
failure. Pushed elements are just passed along.
Inheritance
LastElement<T>
Assembly: Akka.Streams.dll
Syntax
public class LastElement<T> : GraphStageWithMaterializedValue<FlowShape<T, T>, Task<Option<T>>>, IGraphStageWithMaterializedValue<FlowShape<T, T>, Task<Option<T>>>, IGraph<FlowShape<T, T>, Task<Option<T>>>, IGraph<FlowShape<T, T>>
Type Parameters
Name |
Description |
T |
input and output type
|
Constructors
|
Improve this Doc
View Source
LastElement()
Declaration
Properties
|
Improve this Doc
View Source
In
Declaration
public Inlet<T> In { get; }
Property Value
Type |
Description |
Inlet<T> |
|
|
Improve this Doc
View Source
Out
Declaration
public Outlet<T> Out { get; }
Property Value
|
Improve this Doc
View Source
Shape
Declaration
public override FlowShape<T, T> Shape { get; }
Property Value
Overrides
Akka.Streams.Stage.GraphStageWithMaterializedValue<Akka.Streams.FlowShape<T, T>, System.Threading.Tasks.Task<Akka.Util.Option<T>>>.Shape
Methods
|
Improve this Doc
View Source
CreateLogicAndMaterializedValue(Attributes)
Declaration
public override ILogicAndMaterializedValue<Task<Option<T>>> CreateLogicAndMaterializedValue(Attributes inheritedAttributes)
Parameters
Type |
Name |
Description |
Attributes |
inheritedAttributes |
|
Returns
Overrides
Akka.Streams.Stage.GraphStageWithMaterializedValue<Akka.Streams.FlowShape<T, T>, System.Threading.Tasks.Task<Akka.Util.Option<T>>>.CreateLogicAndMaterializedValue(Akka.Streams.Attributes)
Implements
Extension Methods