Somewhat practical concurrent examples of ZIO2 Semaphores and concurrency control.
ZIO Official Docs on Semaphores https://zio.dev/reference/concurrency/semaphore/
sbt run
Then Select Your Example
Multiple main classes detected. Select one to run:
[1] NotActuallySemaphoresPar
[2] SemaphoreExample
Enter number: