Click or drag to resize
Akka.NETBidiFlow Class
TBD
Inheritance Hierarchy
SystemObject
  Akka.Streams.DslBidiFlow

Namespace:  Akka.Streams.Dsl
Assembly:  Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public static class BidiFlow

The BidiFlow type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBidirectionalIdleTimeoutTIn, TOut
If the time between two processed elements ///in any direction/// exceed the provided timeout, the stream is failed with a TimeoutException. There is a difference between this stage and having two idleTimeout Flows assembled into a BidiStage. If the timeout is configured to be 1 seconds, then this stage 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 stage considers the ///joint/// frequencies of the elements in both directions.
Public methodStatic memberFromFlowsTIn1, TOut1, TIn2, TOut2, TMat1, TMat2
Wraps two Flows to create a BidiFlowTIn1, TOut1, TIn2, TOut2, TMat. The materialized value of the resulting BidiFlow is NotUsed. {{{ +----------------------------+ | Resulting BidiFlow | | | | +----------------------+ | I1 ~~> | Flow1 | ~~> O1 | +----------------------+ | | | | +----------------------+ | O2 <~~ | Flow2 | <~~ I2 | +----------------------+ | +----------------------------+ }}}
Public methodStatic memberFromFlowsMatTIn1, TOut1, TIn2, TOut2, TMat1, TMat2, TMat
Wraps two Flows to create a BidiFlowTIn1, TOut1, TIn2, TOut2, TMat. 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 | +----------------------+ | +----------------------------+ }}}
Public methodStatic memberFromFunctionTIn1, TOut1, TIn2, TOut2
Public methodStatic memberFromGraphTIn1, TOut1, TIn2, TOut2, TMat
A graph with the shape of a flow logically is a flow, this method makes it so also in type.
Top
See Also