Class AsyncUtils
Assembly: LaunchDarkly.InternalSdk.dll
Syntax
public static class AsyncUtils
Methods
UnwrapAggregateException(AggregateException)
Declaration
public static Exception UnwrapAggregateException(AggregateException e)
Parameters
Returns
WaitSafely(Func<Task>)
Declaration
public static void WaitSafely(Func<Task> taskFn)
Parameters
WaitSafely(Func<Task>, TimeSpan)
Declaration
public static bool WaitSafely(Func<Task> taskFn, TimeSpan timeout)
Parameters
Returns
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 Parameters