I\'m trying to find out what is the difference between the SemaphoreSlim use of Wait and WaitAsync, used in this kind of context:
private SemaphoreSlim semaphore
The difference is that Wait blocks the current thread until semaphore is released, while WaitAsync does not.
Wait
WaitAsync