mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-14 01:42:55 +00:00
Changed WaitOne() to WaitOneAsync() in websocket send
This commit is contained in:
@@ -223,6 +223,16 @@ namespace CryptoExchange.Net
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Wait one async
|
||||
/// </summary>
|
||||
/// <param name="handle"></param>
|
||||
/// <returns></returns>
|
||||
public static Task<bool> WaitOneAsync(this WaitHandle handle)
|
||||
{
|
||||
return handle.WaitOneAsync(-1, CancellationToken.None);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Wait one async
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user