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.
Implements
Inherited Members
Namespace: Akka.Streams.Dsl
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
| Edit this page View SourceLastElement()
Declaration
public LastElement()
Properties
| Edit this page View SourceIn
Declaration
public Inlet<T> In { get; }
Property Value
| Type | Description |
|---|---|
| Inlet<T> |
Out
Declaration
public Outlet<T> Out { get; }
Property Value
| Type | Description |
|---|---|
| Outlet<T> |
Shape
TBD
Declaration
public override FlowShape<T, T> Shape { get; }
Property Value
| Type | Description |
|---|---|
| FlowShape<T, T> |
Overrides
Methods
| Edit this page View SourceCreateLogicAndMaterializedValue(Attributes)
TBD
Declaration
public override ILogicAndMaterializedValue<Task<Option<T>>> CreateLogicAndMaterializedValue(Attributes inheritedAttributes)
Parameters
| Type | Name | Description |
|---|---|---|
| Attributes | inheritedAttributes | TBD |
Returns
| Type | Description |
|---|---|
| ILogicAndMaterializedValue<Task<Option<T>>> | TBD |
Edit this page