Package akka.stream.scaladsl
Class FlowWithContext$
- java.lang.Object
-
- akka.stream.scaladsl.FlowWithContext$
-
public class FlowWithContext$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static FlowWithContext$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description FlowWithContext$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <In,Ctx>
FlowWithContext<In,Ctx,In,Ctx,NotUsed>apply()
Creates an "empty" FlowWithContext that passes elements through with their context unchanged.<In,CtxIn,Out,CtxOut,Mat>
FlowWithContext<In,CtxIn,Out,CtxOut,Mat>fromTuples(Flow<scala.Tuple2<In,CtxIn>,scala.Tuple2<Out,CtxOut>,Mat> flow)
Creates a FlowWithContext from a regular flow that operates on a tuple of(data, context)
elements.
-
-
-
Field Detail
-
MODULE$
public static final FlowWithContext$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public <In,Ctx> FlowWithContext<In,Ctx,In,Ctx,NotUsed> apply()
Creates an "empty" FlowWithContext that passes elements through with their context unchanged.
-
fromTuples
public <In,CtxIn,Out,CtxOut,Mat> FlowWithContext<In,CtxIn,Out,CtxOut,Mat> fromTuples(Flow<scala.Tuple2<In,CtxIn>,scala.Tuple2<Out,CtxOut>,Mat> flow)
Creates a FlowWithContext from a regular flow that operates on a tuple of(data, context)
elements.
-
-