object FlowWithContext
- Source
- FlowWithContext.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FlowWithContext
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def apply[In, Ctx]: FlowWithContext[In, Ctx, In, Ctx, NotUsed]
Creates an "empty" FlowWithContext that passes elements through with their context unchanged.
- 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.