diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-10-24 10:22:49 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-10-24 10:22:49 -0500 |
| commit | 5891ce219ac0d89decd3de0dd29ec79b4c77da8e (patch) | |
| tree | 20b5ffc2f975a0335d9e35584acc1b884bfef0ed /src/slskd/Common | |
| parent | d762b5fe648219648581948544cd67542b838342 (diff) | |
| download | slskd-5891ce219ac0d89decd3de0dd29ec79b4c77da8e.tar.gz | |
rename ContainsKey to IsWaitingFor
Diffstat (limited to 'src/slskd/Common')
| -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> |
