better-genshin-impact/Build/MicaSetup/Extension/TaskExtension.cs

21 lines
511 B
C#

using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace MicaSetup.Helper;
public static class TaskExtension
{
[SuppressMessage("Style", "IDE0060:")]
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void Forget(this Task self)
{
}
[SuppressMessage("Style", "IDE0060:")]
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void Forget(this ConfiguredTaskAwaitable self)
{
}
}