ianlintner / zio2-semaphore-examples

ZIO2 Example of Concurrency Control & Semaphores

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZIO2 Semaphores Examples

Somewhat practical concurrent examples of ZIO2 Semaphores and concurrency control.

ZIO Official Docs on Semaphores https://zio.dev/reference/concurrency/semaphore/

Running Examples

sbt run

Then Select Your Example

Multiple main classes detected. Select one to run:
 [1] NotActuallySemaphoresPar
 [2] SemaphoreExample

Enter number: 

About

ZIO2 Example of Concurrency Control & Semaphores

License:Apache License 2.0


Languages

Language:Scala 100.0%