cats.effect.std.CountDownLatch
See theCountDownLatch companion object
Concurrency abstraction that supports fiber blocking until n latches are released. Note that this has 'one-shot' semantics - once the counter reaches 0 then release and await will forever be no-ops
See https://typelevel.org/blog/2020/10/30/concurrency-in-ce3.html for a walkthrough of building something like this
Attributes
- Companion
- object
- Source
- CountDownLatch.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Members list
In this article