final classAccumulate[A, B] extends GraphStage[FlowShape[A, B]]
This stage emits folded values like scan, but the first element emitted is not the zero value but the result of
applying the given function to the given zero value and the first pushed element.
A
input type
B
output type
Annotations
@deprecated
Deprecated
(Since version 0.5) Use scan and drop(1) instead
Linear Supertypes
GraphStage[FlowShape[A, B]], GraphStageWithMaterializedValue[FlowShape[A, B], NotUsed], Graph[FlowShape[A, B], NotUsed], AnyRef, Any
This stage emits folded values like
scan
, but the first element emitted is not the zero value but the result of applying the given function to the given zero value and the first pushed element.input type
output type
(Since version 0.5) Use scan and drop(1) instead