Attributes
- Companion
- class
- Source
- BidiFlow.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BidiFlow.type
Members list
Value members
Concrete methods
If the time between two processed elements in any direction exceed the provided timeout, the stream is failed with a org.apache.pekko.StreamIdleTimeoutException.
If the time between two processed elements in any direction exceed the provided timeout, the stream is failed with a org.apache.pekko.StreamIdleTimeoutException.
There is a difference between this operator and having two idleTimeout Flows assembled into a BidiStage. If the timeout is configured to be 1 seconds, then this operator will not fail even though there are elements flowing every second in one direction, but no elements are flowing in the other direction. I.e. this operator considers the joint frequencies of the elements in both directions.
Attributes
- Source
- BidiFlow.scala
Wraps two Flows to create a ''BidiFlow''. The materialized value of the resulting BidiFlow is Unit.
Wraps two Flows to create a ''BidiFlow''. The materialized value of the resulting BidiFlow is Unit.
+----------------------------+
| Resulting BidiFlow |
| |
| +----------------------+ |
I1 ~~> | Flow1 | ~~> O1
| +----------------------+ |
| |
| +----------------------+ |
O2 <~~ | Flow2 | <~~ I2
| +----------------------+ |
+----------------------------+
Attributes
- Source
- BidiFlow.scala
Wraps two Flows to create a ''BidiFlow''. The materialized value of the resulting BidiFlow is determined by the combiner function passed in the second argument list.
Wraps two Flows to create a ''BidiFlow''. The materialized value of the resulting BidiFlow is determined by the combiner function passed in the second argument list.
+----------------------------+
| Resulting BidiFlow |
| |
| +----------------------+ |
I1 ~~> | Flow1 | ~~> O1
| +----------------------+ |
| |
| +----------------------+ |
O2 <~~ | Flow2 | <~~ I2
| +----------------------+ |
+----------------------------+
Attributes
- Source
- BidiFlow.scala
Create a BidiFlow where the top and bottom flows are just one simple mapping operator each, expressed by the two functions.
Create a BidiFlow where the top and bottom flows are just one simple mapping operator each, expressed by the two functions.
Attributes
- Source
- BidiFlow.scala
A graph with the shape of a flow logically is a flow, this method makes it so also in type.
A graph with the shape of a flow logically is a flow, this method makes it so also in type.
Attributes
- Source
- BidiFlow.scala
Attributes
- Source
- BidiFlow.scala