- 
                Notifications
    You must be signed in to change notification settings 
- Fork 35
T_CodeJam_Threading_TaskHelper
        Andrew Koryavchenko edited this page Jun 17, 2018 
        ·
        1 revision
      
    Helper methods for Task and Task(TResult).
System.Object
  CodeJam.Threading.TaskHelper
Namespace: CodeJam.Threading
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static class TaskHelperVB
<ExtensionAttribute>
Public NotInheritable Class TaskHelperF#
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type TaskHelper =  class end
| Name | Description | |
|---|---|---|
|    | WaitAll(IEnumerable(Task)) | Waits for all of the provided Task objects to complete execution. | 
|    | WaitAll(Task[]) | Waits for all of the provided Task objects to complete execution. | 
|    | 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. | 
|    | 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. | 
|    | 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. | 
|    | 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. | 
|    | 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. | 
|    | WaitAll(Task[], TimeSpan) | Waits for all of the provided Task objects to complete execution within a specified TimeSpan or until the wait is cancelled. | 
|    | 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. | 
|    | 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. | 
|    | 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. | 
|    | 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. | 
|    | WhenAll(IEnumerable(Task)) | Creates a task that will complete when all of the Task objects in an enumerable collection have completed. | 
|    | WhenAll(Task[]) | Creates a task that will complete when all of the Task objects in an enumerable collection have completed. | 
|    | WhenAll(TResult)(IEnumerable(Task(TResult))) | Creates a task that will complete when all of the Task(TResult) objects in an enumerable collection have completed. | 
|    | WhenAll(TResult)(Task(TResult)[]) | Creates a task that will complete when all of the Task(TResult) objects in an enumerable collection have completed. | 
|    | WhenAny(IEnumerable(Task)) | Creates a task that will complete when any of the supplied tasks have completed. | 
|    | WhenAny(Task[]) | Creates a task that will complete when any of the supplied tasks have completed. | 
|    | WhenAny(TResult)(IEnumerable(Task(TResult))) | Creates a task that will complete when any of the supplied tasks have completed. | 
|    | WhenAny(TResult)(Task(TResult)[]) | Creates a task that will complete when any of the supplied tasks have completed. |