remove a bunch of locks
This commit is contained in:
parent
b3bf62b391
commit
d7b8664062
13 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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue