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:
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.
|
||||
/// </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());
|
||||
|
Loading…
Reference in New Issue
Block a user