Class FixedDelay<T>
Fixed delay strategy, always returns constant delay for any element.
Implements
Inherited Members
Namespace: Akka.Streams.Dsl
Assembly: Akka.Streams.dll
Syntax
public class FixedDelay<T> : IDelayStrategy<T>
Type Parameters
Name | Description |
---|---|
T | type of element |
Constructors
| Improve this Doc View SourceFixedDelay(TimeSpan)
Declaration
public FixedDelay(TimeSpan delay)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | delay | value of the delay |
Methods
| Improve this Doc View SourceNextDelay(T)
Returns delay for ongoing element
,
TimeSpan.Zero
means passing without delay
Declaration
public TimeSpan NextDelay(T element)
Parameters
Type | Name | Description |
---|---|---|
T | element | element |
Returns
Type | Description |
---|---|
TimeSpan |