- Companion
- class
Value members
Concrete methods
Creates a new Semaphore
, initialized with n
available permits.
Creates a new Semaphore
, initialized with n
available permits.
Creates a new Semaphore
, initialized with n
available permits.
like apply
but initializes state using another effect constructor
Creates a new Semaphore
, initialized with n
available permits.
like apply
but initializes state using another effect constructor
Like apply but only requires an Async
constraint in exchange for the various
acquire effects being uncancelable.
Like apply but only requires an Async
constraint in exchange for the various
acquire effects being uncancelable.
WARN: some Async
data types, like IO, can be cancelable,
making uncancelable
values unsafe. Such values are only useful
for optimization purposes, in cases where the use case does not
require cancellation or in cases in which an F[_]
data type
that does not support cancellation is used.
Creates a new Semaphore
, initialized with n
available permits.
Like apply but only requires an Async
constraint in exchange for the various
acquire effects being uncancelable
and initializes state using another effect constructor
Creates a new Semaphore
, initialized with n
available permits.
Like apply but only requires an Async
constraint in exchange for the various
acquire effects being uncancelable
and initializes state using another effect constructor