TheCommonUtils..::..TaskWhenAny Method
Creates a task that completes when any of the provided tasks completes.
Namespace:
nsCDEngine.BaseClassesAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public static Task<Task> TaskWhenAny( IEnumerable<Task> tasks )
Public Shared Function TaskWhenAny ( _ tasks As IEnumerable(Of Task) _ ) As Task(Of Task)
public: static Task<Task^>^ TaskWhenAny( IEnumerable<Task^>^ tasks )
Parameters
- tasks
- Type: IEnumerable<(Of <(<'Task>)>)>
A collection with one or more tasks.