remove a bunch of locks
This commit is contained in:
parent
d1082edf6a
commit
d3c96dee21
1 changed files with 126 additions and 143 deletions
|
|
@ -0,0 +1,9 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace TanksServer.Interactivity;
|
||||
|
||||
public static class TaskExtensions
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static Task WhenAll(this IEnumerable<Task> tasks) => Task.WhenAll(tasks);
|
||||
}
|
||||
Reference in a new issue