import { TSemaphoreInternal } from "@effect/core/stm/TSemaphore/operations/_internal/TSemaphoreInternal" /** * Constructs a new `TSemaphore` with the specified number of permits. * * @tsplus static effect/core/stm/TSemaphore.Ops make */ export function make(permits: number): STM { return TRef.make(permits).map((v) => new TSemaphoreInternal(v)) }