* Runs an effect with the given number of permits and releases the permits * when the effect completes. * * **When to use** * * Use to run an effect while holding a specified number of semaphore permits. * * **Details** * * This function acquires the specified number of pe
(this: Semaphore, permits: number)
| 78 | * the provided effect. Once the effect finishes, the permits are released. |
| 79 | * If insufficient permits are available, the function will wait until they |
| 80 | * are released by other tasks. |
| 81 | */ |
| 82 | withPermits(this: Semaphore, permits: number): <A, E, R>(self: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R> |
| 83 |
no outgoing calls
no test coverage detected