Search Results for

    Show / Hide Table of Contents

    Interface IDelayStrategy<T>

    Allows to manage delay and can be stateful to compute delay for any sequence of elements, all elements go through NextDelay(T) updating state and returning delay for each element

    Namespace: Akka.Streams.Dsl
    Assembly: Akka.Streams.dll
    Syntax
    public interface IDelayStrategy<T>
    Type Parameters
    Name Description
    T

    type of element

    Methods

    | Edit this page View Source

    NextDelay(T)

    Returns delay for ongoing element,

    TimeSpan.Zero
    means passing without delay
    Declaration
    TimeSpan NextDelay(T element)
    Parameters
    Type Name Description
    T element

    element

    Returns
    Type Description
    TimeSpan

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET