object PekkoStreams
Utilities for Pekko Streams merging and bypassing of packets.
- Source
- PekkoStreams.scala
- Alphabetic
- By Inheritance
- PekkoStreams
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- 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.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def onlyFirstCanFinishMerge[T](inputPorts: Int): Graph[UniformFanInShape[T, T], NotUsed]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)