LaunchDarkly Dotnet Client SDK
Search Results for

    Show / Hide Table of Contents

    Class AsyncUtils

    Inheritance
    object
    AsyncUtils
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LaunchDarkly.Sdk.Internal.Concurrent
    Assembly: LaunchDarkly.InternalSdk.dll
    Syntax
    public static class AsyncUtils

    Methods

    UnwrapAggregateException(AggregateException)

    Declaration
    public static Exception UnwrapAggregateException(AggregateException e)
    Parameters
    Type Name Description
    AggregateException e
    Returns
    Type Description
    Exception

    WaitSafely(Func<Task>)

    Declaration
    public static void WaitSafely(Func<Task> taskFn)
    Parameters
    Type Name Description
    Func<Task> taskFn

    WaitSafely(Func<Task>, TimeSpan)

    Declaration
    public static bool WaitSafely(Func<Task> taskFn, TimeSpan timeout)
    Parameters
    Type Name Description
    Func<Task> taskFn
    TimeSpan timeout
    Returns
    Type Description
    bool

    WaitSafely<T>(Func<Task<T>>)

    Declaration
    public static T WaitSafely<T>(Func<Task<T>> taskFn)
    Parameters
    Type Name Description
    Func<Task<T>> taskFn
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    In this article
    Back to top Generated by DocFX