Files
zopu-code/repos/effect-smol/.changeset/extract-semaphore-latch.md

11 lines
415 B
Markdown

---
"effect": patch
---
Extract `Semaphore` and `Latch` into their own modules.
`Semaphore.make` / `Semaphore.makeUnsafe` replace `Effect.makeSemaphore` / `Effect.makeSemaphoreUnsafe`.
`Latch.make` / `Latch.makeUnsafe` replace `Effect.makeLatch` / `Effect.makeLatchUnsafe`.
Merge `PartitionedSemaphore` into `Semaphore` as `Semaphore.Partitioned`, `Semaphore.makePartitioned`, `Semaphore.makePartitionedUnsafe`.