import * as tsplus_module_1 from "@effect/core/stm/TSemaphore/operations/withPermitScoped";
import { concreteSemaphore } from "@effect/core/io/Semaphore/operations/_internal/SemaphoreInternal";
/**
 * Returns a scoped effect that describes acquiring a permit as the `acquire`
 * action and releasing it as the `release` action.
 *
 * @tsplus getter ets/Semaphore withPermitScoped
 */

export function withPermitScoped(self, __tsplusTrace) {
  void 0;
  return tsplus_module_1.withPermitScoped(self.semaphore, __tsplusTrace);
}
//# sourceMappingURL=withPermitScoped.mjs.map