* Acquires the specified number of permits and returns the acquired permit * count, suspending the task if they are not yet available. Pending `take` * calls are scanned in registration order, but a request is served only when * enough permits are available, so a smaller later request may o
(this: Semaphore, permits: number)
| 131 | * Use to manually acquire permits for lower-level coordination protocols. |
| 132 | */ |
| 133 | take(this: Semaphore, permits: number): Effect.Effect<number> |
| 134 | |
| 135 | /** |
| 136 | * Acquires the specified number of permits only if they are immediately |
no outgoing calls
no test coverage detected