1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-10 03:25:41 +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. /// Returns a <see cref="Task" /> which can be awaited until the current <see cref="WaitHandle" /> receives a signal.
/// </summary> /// </summary>
/// <param name="handle">The <see cref="WaitHandle" /> instance.</param> /// <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) public static Task WaitOneAsync(this WaitHandle handle)
{ {
return new(() => handle.WaitOne()); return new(() => handle.WaitOne());