1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-22 19:28:48 +00:00

(#15) Remove "returns" from <returns>

This commit is contained in:
Oliver Booth 2021-03-07 14:14:14 +00:00
parent 4ff9cb4405
commit fc96840e9d

View File

@ -12,7 +12,7 @@ namespace X10D.WaitHandleExtensions
/// Returns a <see cref="Task" /> which can be awaited until the current <see cref="WaitHandle" /> receives a signal.
/// </summary>
/// <param name="handle">The <see cref="WaitHandle" /> instance.</param>
/// <returns>Returns a task which wraps <see cref="WaitHandle.WaitOne()" />.</returns>
/// <returns>A task which encapsulates <see cref="WaitHandle.WaitOne()" />.</returns>
public static Task WaitOneAsync(this WaitHandle handle)
{
return new(() => handle.WaitOne());