This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
To address trouble with... | |
myList.ForEach( async x => ...do async work... ) | |
where control returns before async operations are complete, | |
consider... | |
*/ | |
namespace Example | |
{ | |
public static async Task ForEachAsync<T>( this IEnumerable<T> list, Func<T, Task> func ) |
NewerOlder