/** * Constructs a new `TSemaphore` with the specified number of permits, * immediately committing the transaction. * * @tsplus static effect/core/stm/TSemaphore.Ops makeCommit */ export function makeCommit(permits: number): Effect { return TSemaphore.make(permits).commit }