object AkkaStreams
Utilities for Akka Streams merging and bypassing of packets.
- Source
- AkkaStreams.scala
- Alphabetic
- By Inheritance
- AkkaStreams
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @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(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()