Click or drag to resize
Akka.NETBidiFlow Class
TBD
Inheritance Hierarchy
System.Object
  Akka.Streams.Dsl.BidiFlow

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

The BidiFlow type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBidirectionalIdleTimeout<TIn, 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 memberFromFlows<TIn1, TOut1, TIn2, TOut2, TMat1, TMat2>
Wraps two Flows to create a BidiFlow<TIn1, TOut1, TIn2, TOut2, TMat>. The materialized value of the resulting BidiFlow is NotUsed. {{{ +----------------------------+ | Resulting BidiFlow | | | | +----------------------+ | I1 ~~> | Flow1 | ~~> O1 | +----------------------+ | | | | +----------------------+ | O2 <~~ | Flow2 | <~~ I2 | +----------------------+ | +----------------------------+ }}}
Public methodStatic memberFromFlowsMat<TIn1, TOut1, TIn2, TOut2, TMat1, TMat2, TMat>
Wraps two Flows to create a BidiFlow<TIn1, 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 memberFromFunction<TIn1, TOut1, TIn2, TOut2>
Public methodStatic memberFromGraph<TIn1, 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