コード例 #1
0
 /// <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);
コード例 #2
0
 /// <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);