Skip to content

Commit

Permalink
Fix tax extensions net35
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfranblanco committed Feb 5, 2024
1 parent acb6bfd commit cab566f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Nethereum.Util/TaskExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ namespace Nethereum.Util
/// </summary>
public static class TaskExtensions
{
#if !DOTNET35
/// <summary>
/// Enumerates a collection in parallel and calls an async method on each item. Useful for making
/// parallel async calls, e.g. independent web requests when the degree of parallelism needs to be
Expand All @@ -34,5 +35,7 @@ public static Task ForEachAsync<T>(this IEnumerable<T> source, Func<T, Task> act
await action(partition.Current);
})));
}
#endif
}

}

0 comments on commit cab566f

Please sign in to comment.