Class AccumulateWhileUnchanged<TElement, TProperty>
Accumulates elements of type TElement while extracted property of type TProperty remains unchanged,
emits an accumulated sequence when the property changes
Inheritance
AccumulateWhileUnchanged<TElement, TProperty>
Implements
Inherited Members
Namespace: Akka.Streams.Dsl
Assembly: Akka.Streams.dll
Syntax
public class AccumulateWhileUnchanged<TElement, TProperty> : GraphStage<FlowShape<TElement, IEnumerable<TElement>>>, IGraphStageWithMaterializedValue<FlowShape<TElement, IEnumerable<TElement>>, NotUsed>, IGraph<FlowShape<TElement, IEnumerable<TElement>>, NotUsed>, IGraph<FlowShape<TElement, IEnumerable<TElement>>>
Type Parameters
| Name | Description |
|---|---|
| TElement | type of accumulated elements |
| TProperty | type of the observed property |
Constructors
| Edit this page View SourceAccumulateWhileUnchanged(Func<TElement, TProperty>)
Declaration
public AccumulateWhileUnchanged(Func<TElement, TProperty> propertyExtractor)
Parameters
| Type | Name | Description |
|---|---|---|
| Func<TElement, TProperty> | propertyExtractor | a function to extract the observed element property |
Properties
| Edit this page View SourceIn
Declaration
public Inlet<TElement> In { get; }
Property Value
| Type | Description |
|---|---|
| Inlet<TElement> |
Out
Declaration
public Outlet<IEnumerable<TElement>> Out { get; }
Property Value
| Type | Description |
|---|---|
| Outlet<IEnumerable<TElement>> |
Shape
TBD
Declaration
public override FlowShape<TElement, IEnumerable<TElement>> Shape { get; }
Property Value
| Type | Description |
|---|---|
| FlowShape<TElement, IEnumerable<TElement>> |
Overrides
Methods
| Edit this page View SourceCreateLogic(Attributes)
TBD
Declaration
protected override GraphStageLogic CreateLogic(Attributes inheritedAttributes)
Parameters
| Type | Name | Description |
|---|---|---|
| Attributes | inheritedAttributes | TBD |
Returns
| Type | Description |
|---|---|
| GraphStageLogic | TBD |
Edit this page