/// <summary> /// Awaits the given ValueTask with minimal allocations /// </summary> /// <typeparam name="T">The type of result</typeparam> /// <param name="task">The task to await and ignore the result of</param> public static void Ignore <T>(this ValueTask <T> task) => ValueTaskIgnore <T> .Ignore(task);
/// <summary> /// Awaits the given ValueTask with minimal allocations /// </summary> /// <param name="task">The task to await and ignore the result of</param> public static void Ignore(this ValueTask task) => ValueTaskIgnore.Ignore(task);