Minor doc edit

This commit is contained in:
RogueException
2016-01-19 00:27:17 -04:00
parent 7e97596a5d
commit 84837bb97b

View File

@@ -1040,13 +1040,13 @@ namespace Discord
#endregion
#region Async Wrapper
/// <summary> Blocking call that will execute the provided async method and wait until client has been manually stopped. This is mainly intended for use in console applications. </summary>
/// <summary> Blocking call that will execute the provided async method and wait until the client has been manually stopped. This is mainly intended for use in console applications. </summary>
public void ExecuteAndWait(Func<Task> asyncAction)
{
asyncAction().GetAwaiter().GetResult();
_disconnectedEvent.WaitOne();
}
/// <summary> Blocking call and wait until client has been manually stopped. This is mainly intended for use in console applications. </summary>
/// <summary> Blocking call and wait until the client has been manually stopped. This is mainly intended for use in console applications. </summary>
public void Wait()
{
_disconnectedEvent.WaitOne();