FlowWithContext

org.apache.pekko.stream.scaladsl.FlowWithContext
See theFlowWithContext companion class

Attributes

Companion
class
Source
FlowWithContext.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

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

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

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

Attributes

Source
FlowWithContext.scala
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.

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

Attributes

Source
FlowWithContext.scala