| BidiFlowBidirectionalIdleTimeoutTIn, TOut Method |
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.
Namespace:
Akka.Streams.Dsl
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public static BidiFlow<TIn, TIn, TOut, TOut, NotUsed> BidirectionalIdleTimeout<TIn, TOut>(
TimeSpan timeout
)
static member BidirectionalIdleTimeout :
timeout : TimeSpan -> BidiFlow<'TIn, 'TIn, 'TOut, 'TOut, NotUsed>
Parameters
- timeout
- Type: SystemTimeSpan
TBD
Type Parameters
- TIn
- TBD
- TOut
- TBD
Return Value
Type:
BidiFlowTIn,
TIn,
TOut,
TOut,
NotUsedTBD
See Also