Package akka.stream.impl
Class UnfoldAsync<S,E>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
-
- akka.stream.stage.GraphStage<SourceShape<E>>
-
- akka.stream.impl.UnfoldAsync<S,E>
-
- All Implemented Interfaces:
Graph<SourceShape<E>,NotUsed>
public final class UnfoldAsync<S,E> extends GraphStage<SourceShape<E>>
INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description UnfoldAsync(S s, scala.Function1<S,scala.concurrent.Future<scala.Option<scala.Tuple2<S,E>>>> f)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphStageLogic
createLogic(Attributes inheritedAttributes)
Attributes
initialAttributes()
Outlet<E>
out()
SourceShape<E>
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.-
Methods inherited from class akka.stream.stage.GraphStage
createLogicAndMaterializedValue
-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
createLogicAndMaterializedValue, traversalBuilder, withAttributes
-
-
-
-
Method Detail
-
createLogic
public GraphStageLogic createLogic(Attributes inheritedAttributes)
- Specified by:
createLogic
in classGraphStage<SourceShape<E>>
-
initialAttributes
public Attributes initialAttributes()
- Overrides:
initialAttributes
in classGraphStageWithMaterializedValue<SourceShape<E>,NotUsed>
-
shape
public SourceShape<E> shape()
Description copied from interface:Graph
The shape of a graph is all that is externally visible: its inlets and outlets.- Returns:
- (undocumented)
-
-