* Acquires the specified number of permits only if they are immediately * available. * * **When to use** * * Use to manually acquire permits without waiting, paired with `release`.
(this: Semaphore, permits: number)
| 141 | * Use to manually acquire permits without waiting, paired with `release`. |
| 142 | */ |
| 143 | takeIfAvailable(this: Semaphore, permits: number): Effect.Effect<boolean> |
| 144 | |
| 145 | /** |
| 146 | * Releases the specified number of permits and returns the resulting |
no outgoing calls
no test coverage detected