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:
parent
4ff9cb4405
commit
fc96840e9d
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user