object PekkoStreams
Ordering
- Alphabetic
- By Inheritance
Inherited
- PekkoStreams
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def bypassWith[In, FlowIn, Out](splitter: Flow[In, Either[FlowIn, Out], _], mergeStrategy: Graph[UniformFanInShape[Out, Out], _] = onlyFirstCanFinishMerge[Out](2)): (Flow[FlowIn, Out, _]) => Flow[In, Out, _]
Using the given splitter flow, allow messages to bypass a flow.
Using the given splitter flow, allow messages to bypass a flow.
If the splitter flow produces Left, they will be fed into the flow. If it produces Right, they will bypass the flow.
- def bypassWith[In, FlowIn, Out](splitter: (In) => Either[FlowIn, Out]): (Flow[FlowIn, Out, _]) => Flow[In, Out, _]
Bypass the given flow using the given splitter function.
Bypass the given flow using the given splitter function.
If the splitter function returns Left, they will go through the flow. If it returns Right, they will bypass the flow.
- def ignoreAfterCancellation[T]: Flow[T, T, Future[Done]]
A flow that will ignore downstream cancellation, and instead will continue receiving and ignoring the stream.
- def ignoreAfterFinish[T]: Flow[T, T, _]
A flow that will ignore upstream finishes.
- def onlyFirstCanFinishMerge[T](inputPorts: Int): Graph[UniformFanInShape[T, T], NotUsed]
Utilities for Pekko Streams merging and bypassing of packets.