CountDownLatch

abstract class CountDownLatch[F[_]]
class Object
trait Matchable
class Any

Value members

Abstract methods

def await: F[Unit]

Semantically block until the count reaches 0

Semantically block until the count reaches 0

def release: F[Unit]

Release a latch, decrementing the remaining count and releasing any fibers that are blocked if the count reaches 0

Release a latch, decrementing the remaining count and releasing any fibers that are blocked if the count reaches 0

Concrete methods

def mapK[G[_]](f: FunctionK[F, G]): CountDownLatch[G]