Click or drag to resize
Akka.NETFlowOperationsTakeWithinTIn, TOut, TMat Method
Terminate processing (and cancel the upstream publisher) after the given duration. Due to input buffering some elements may have been requested from upstream publishers that will then not be processed downstream of this step. Note that this can be combined with TakeTIn, TOut, TMat(FlowTIn, TOut, TMat, Int64) to limit the number of elements within the duration.

Emits when an upstream element arrives

Backpressures when downstream backpressures

Completes when upstream completes or timer fires

Cancels when downstream cancels or timer fires

Namespace:  Akka.Streams.Dsl
Assembly:  Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public static Flow<TIn, TOut, TMat> TakeWithin<TIn, TOut, TMat>(
	this Flow<TIn, TOut, TMat> flow,
	TimeSpan duration
)

Parameters

flow
Type: Akka.Streams.DslFlowTIn, TOut, TMat
TBD
duration
Type: SystemTimeSpan
TBD

Type Parameters

TIn
TBD
TOut
TBD
TMat
TBD

Return Value

Type: FlowTIn, TOut, TMat
TBD

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type FlowTIn, TOut, TMat. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also