Starts the given Action when any Task in the Enumerable has ended.
Namespace: UnityThreadingAssembly: UnityThreading (in UnityThreading.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public static IEnumerable<Task> ContinueWhenAnyEnded( this IEnumerable<Task> tasks, Action action ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Function ContinueWhenAnyEnded ( _ tasks As IEnumerable(Of Task), _ action As Action _ ) As IEnumerable(Of Task) |
Visual C++ |
---|
[ExtensionAttribute] public: static IEnumerable<Task^>^ ContinueWhenAnyEnded( IEnumerable<Task^>^ tasks, Action^ action ) |
Parameters
- tasks
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'Task>)>)>
- action
- Type: System..::..Action
The action to start.