Edit

Share via


OrleansTaskExtentions Class

Definition

public static class OrleansTaskExtentions
type OrleansTaskExtentions = class
Public Module OrleansTaskExtentions
Inheritance
OrleansTaskExtentions

Methods

ExecuteAndIgnoreException(Func<Task>)
LogException(Task, ILogger, ErrorCode, String)
SafeExecute(Func<Task>)
ToUntypedTask(Task)

Returns a Task<TResult> for the provided Task.

ToUntypedTask(Task<Object>)

Returns a Task<TResult> for the provided Task<TResult>.

ToUntypedTask<T>(Task<T>)

Returns a Task<TResult> for the provided Task<TResult>.

WaitWithThrow(Task, TimeSpan)
WithTimeout(Task, TimeSpan, String)

This will apply a timeout delay to the task, allowing us to exit early

WithTimeout<T>(Task<T>, TimeSpan, String)

This will apply a timeout delay to the task, allowing us to exit early

Applies to