Package: effect
Module: Semaphore
Releases all permits held by this semaphore and returns the resulting available permits.
When to use
Use to return every currently taken permit to a semaphore at once, typically
during cleanup of manual take / release protocols.
See
release for releasing a known permit countwithPermits for automatic acquire and release around an effectSignature
declare const releaseAll: (self: Semaphore) => Effect.Effect<number>
Since v4.0.0