Search Results for

    Show / Hide Table of Contents

    Class FutureTimeoutSupport

    Used to help make it easier to schedule timeouts in conjunction with the built-in IScheduler

    Inheritance
    object
    FutureTimeoutSupport
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Pattern
    Assembly: Akka.dll
    Syntax
    public static class FutureTimeoutSupport

    Methods

    | Edit this page View Source

    After<T>(TimeSpan, IScheduler, Func<Task<T>>)

    Returns a Task that will be completed with the success or failure of the provided value after the specified duration.

    Declaration
    public static Task<T> After<T>(TimeSpan duration, IScheduler scheduler, Func<Task<T>> value)
    Parameters
    Type Name Description
    TimeSpan duration

    The duration to wait.

    IScheduler scheduler

    The scheduler instance to use.

    Func<Task<T>> value

    The task we're going to wrap.

    Returns
    Type Description
    Task<T>

    a Task that will be completed with the success or failure of the provided value after the specified duration

    Type Parameters
    Name Description
    T

    The return type of task.

    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