diff options
| -rw-r--r-- | src/slskd/Common/Waiter.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Common/Waiter.cs b/src/slskd/Common/Waiter.cs index 0c9cca98..58fbcb83 100644 --- a/src/slskd/Common/Waiter.cs +++ b/src/slskd/Common/Waiter.cs @@ -63,7 +63,7 @@ namespace slskd /// </summary> /// <param name="key">The unique WaitKey to check.</param> /// <returns>A value indicating whether the specified key is being waited upon.</returns> - bool ContainsKey(WaitKey key); + bool IsWaitingFor(WaitKey key); /// <summary> /// Throws the specified <paramref name="exception"/> on the oldest wait matching the specified <paramref name="key"/>. @@ -197,7 +197,7 @@ namespace slskd /// </summary> /// <param name="key">The unique WaitKey to check.</param> /// <returns>A value indicating whether the specified key is being waited upon.</returns> - public bool ContainsKey(WaitKey key) + public bool IsWaitingFor(WaitKey key) => Waits.ContainsKey(key); /// <summary> |
