object Flow
akka.stream.scaladsl.Flow factories operating with java.util.concurrent.Flow.*
interfaces.
- Source
- JavaFlowSupport.scala
- Alphabetic
- By Inheritance
- Flow
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def fromProcessor[I, O](processorFactory: () => Processor[I, O]): Flow[I, O, NotUsed]
Creates a Flow from a Reactive Streams org.reactivestreams.Processor
- def fromProcessorMat[I, O, M](processorFactory: () => (Processor[I, O], M)): Flow[I, O, M]
Creates a Flow from a Reactive Streams java.util.concurrent.Flow.Processor and returns a materialized value.
- def toProcessor[In, Out, Mat](self: Flow[In, Out, Mat]): RunnableGraph[Processor[In, Out]]
Converts this Flow to a RunnableGraph that materializes to a Reactive Streams java.util.concurrent.Flow.Processor which implements the operations encapsulated by this Flow.
Converts this Flow to a RunnableGraph that materializes to a Reactive Streams java.util.concurrent.Flow.Processor which implements the operations encapsulated by this Flow. Every materialization results in a new Processor instance, i.e. the returned RunnableGraph is reusable.
- returns
A RunnableGraph that materializes to a Processor when run() is called on it.