Skip to content

Methods_T_CodeJam_Threading_TaskHelper

Andrew Koryavchenko edited this page Jun 17, 2018 · 1 revision

TaskHelper Methods

Methods

 

Name Description
Public methodStatic member WaitAll(IEnumerable(Task)) Waits for all of the provided Task objects to complete execution.
Public methodStatic member WaitAll(Task[]) Waits for all of the provided Task objects to complete execution.
Public methodStatic member WaitAll(IEnumerable(Task), Int32) Waits for all of the provided Task objects to complete execution within a specified number of milliseconds or until the wait is cancelled.
Public methodStatic member WaitAll(IEnumerable(Task), CancellationToken) Waits for all of the provided Task objects to complete execution within a specified number of milliseconds or until the wait is cancelled.
Public methodStatic member WaitAll(IEnumerable(Task), TimeSpan) Waits for all of the provided Task objects to complete execution within a specified TimeSpan or until the wait is cancelled.
Public methodStatic member WaitAll(Task[], Int32) Waits for all of the provided Task objects to complete execution within a specified number of milliseconds or until the wait is cancelled.
Public methodStatic member WaitAll(Task[], CancellationToken) Waits for all of the provided Task objects to complete execution within a specified number of milliseconds or until the wait is cancelled.
Public methodStatic member WaitAll(Task[], TimeSpan) Waits for all of the provided Task objects to complete execution within a specified TimeSpan or until the wait is cancelled.
Public methodStatic member WaitAll(IEnumerable(Task), Int32, CancellationToken) Waits for all of the provided Task objects to complete execution within a specified number of milliseconds or until the wait is cancelled.
Public methodStatic member WaitAll(IEnumerable(Task), TimeSpan, CancellationToken) Waits for all of the provided Task objects to complete execution within a specified TimeSpan or until the wait is cancelled.
Public methodStatic member WaitAll(Task[], Int32, CancellationToken) Waits for all of the provided Task objects to complete execution within a specified number of milliseconds or until the wait is cancelled.
Public methodStatic member WaitAll(Task[], TimeSpan, CancellationToken) Waits for all of the provided Task objects to complete execution within a specified TimeSpan or until the wait is cancelled.
Public methodStatic member WhenAll(IEnumerable(Task)) Creates a task that will complete when all of the Task objects in an enumerable collection have completed.
Public methodStatic member WhenAll(Task[]) Creates a task that will complete when all of the Task objects in an enumerable collection have completed.
Public methodStatic member WhenAll(TResult)(IEnumerable(Task(TResult))) Creates a task that will complete when all of the Task(TResult) objects in an enumerable collection have completed.
Public methodStatic member WhenAll(TResult)(Task(TResult)[]) Creates a task that will complete when all of the Task(TResult) objects in an enumerable collection have completed.
Public methodStatic member WhenAny(IEnumerable(Task)) Creates a task that will complete when any of the supplied tasks have completed.
Public methodStatic member WhenAny(Task[]) Creates a task that will complete when any of the supplied tasks have completed.
Public methodStatic member WhenAny(TResult)(IEnumerable(Task(TResult))) Creates a task that will complete when any of the supplied tasks have completed.
Public methodStatic member WhenAny(TResult)(Task(TResult)[]) Creates a task that will complete when any of the supplied tasks have completed.
  Back to Top

See Also

Reference

TaskHelper Class
CodeJam.Threading Namespace

Clone this wiki locally