Class FlowWithContext$


  • public class FlowWithContext$
    extends java.lang.Object
    API MAY CHANGE
    • 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
      <Ctx,​In>
      FlowWithContext<Ctx,​In,​Ctx,​In,​NotUsed>
      apply()
      Creates an "empty" FlowWithContext that passes elements through with their context unchanged.
      <CI,​I,​CO,​O,​M>
      FlowWithContext<CI,​I,​CO,​O,​M>
      from​(Flow<scala.Tuple2<I,​CI>,​scala.Tuple2<O,​CO>,​M> flow)
      Creates a FlowWithContext from a regular flow that operates on a pair 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 <Ctx,​In> FlowWithContext<Ctx,​In,​Ctx,​In,​NotUsed> apply()
        Creates an "empty" FlowWithContext that passes elements through with their context unchanged.
        Returns:
        (undocumented)
      • from

        public <CI,​I,​CO,​O,​M> FlowWithContext<CI,​I,​CO,​O,​M> from​(Flow<scala.Tuple2<I,​CI>,​scala.Tuple2<O,​CO>,​M> flow)
        Creates a FlowWithContext from a regular flow that operates on a pair of (data, context) elements.
        Parameters:
        flow - (undocumented)
        Returns:
        (undocumented)