Class 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.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final FlowWithContext$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • FlowWithContext$

        public FlowWithContext$()
    • 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.