TaskEx
Provides methods for creating and manipulating tasks.
Starts a Task that will complete after the specified due time.
Starts a Task that will complete after the specified due time.
Starts a Task that will complete after the specified due time.
Starts a Task that will complete after the specified due time.
Creates an already completed Task<T> from the specified result.
Creates a task that runs the specified action.
Creates a task that runs the specified action.
Creates a task that runs the specified function.
public static Task<TResult> Run<TResult>(Func<TResult> function, CancellationToken cancellationToken)
Creates a task that runs the specified function.
Creates a task that runs the specified function.
Creates a task that runs the specified function.
Creates a task that runs the specified function.
public static Task<TResult> Run<TResult>(Func<Task<TResult>> function, CancellationToken cancellationToken)
Creates a task that runs the specified function.
Creates a Task that will complete only when all of the provided collection of Tasks has completed.
Creates a Task that will complete only when all of the provided collection of Tasks has completed.
Creates a Task that will complete only when all of the provided collection of Tasks has completed.
Creates a Task that will complete only when all of the provided collection of Tasks has completed.
Creates a Task that will complete when any of the tasks in the provided collection completes.
Creates a Task that will complete when any of the tasks in the provided collection completes.
Creates a Task that will complete when any of the tasks in the provided collection completes.
Creates a Task that will complete when any of the tasks in the provided collection completes.
Creates an awaitable that asynchronously yields back to the current context when awaited.