Packages

object FlowWithContext

Source
FlowWithContext.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FlowWithContext
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply[In, Ctx]: FlowWithContext[In, Ctx, In, Ctx, NotUsed]

    Creates an "empty" FlowWithContext that passes elements through with their context unchanged.

  2. def fromTuples[In, CtxIn, Out, CtxOut, Mat](flow: Flow[(In, CtxIn), (Out, CtxOut), Mat]): FlowWithContext[In, CtxIn, Out, CtxOut, Mat]

    Creates a FlowWithContext from a regular flow that operates on a tuple of (data, context) elements.