Semaphore

zio.Semaphore
See theSemaphore companion trait
object Semaphore

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Semaphore.type

Members list

Type members

Classlikes

object unsafe

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
unsafe.type

Value members

Concrete methods

def make(permits: => Long)(implicit trace: Trace): UIO[Semaphore]

Creates a new Semaphore with the specified number of permits.

Creates a new Semaphore with the specified number of permits.

Attributes