Semaphore

turbolift.io.Semaphore
See theSemaphore companion object
sealed trait Semaphore

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def unsafeRelease(count: Long): Unit

Concrete methods

final def acquire(count: Long): Computation[Unit, IO]
final def release(count: Long): Computation[Unit, IO]
final def use[A, U <: IO](count: Long)(body: Computation[A, U]): Computation[A, U]