* Runs an effect only if the specified number of permits are immediately * available. * * **Details** * * This function attempts to acquire the specified number of permits. If they * are available, it runs the effect and releases the permits after the effect * completes. If perm
(permits: number)
| 11800 | * the result is `Option.none`. |
| 11801 | */ |
| 11802 | withPermitsIfAvailable(permits: number): <A, E, R>(self: Effect<A, E, R>) => Effect<Option.Option<A>, E, R> |
| 11803 | |
| 11804 | /** |
| 11805 | * Acquires the specified number of permits and returns the resulting |
no outgoing calls
no test coverage detected