* Releases the specified number of permits and returns the resulting * available permits. * * **When to use** * * Use to manually return permits acquired by a lower-level coordination * protocol.
(this: Semaphore, permits: number)
| 138 | * |
| 139 | * **When to use** |
| 140 | * |
| 141 | * Use to manually acquire permits without waiting, paired with `release`. |
| 142 | */ |
| 143 | takeIfAvailable(this: Semaphore, permits: number): Effect.Effect<boolean> |
no outgoing calls
no test coverage detected