import * as tsplus_module_1 from "@effect/core/stm/TSemaphore/operations/withPermitsScoped";
/**
 * Returns a scoped effect that describes acquiring a permit as the `acquire`
 * action and releasing it as the `release` action.
 *
 * @tsplus fluent ets/TSemaphore withPermitScoped
 */

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