MCPcopy Create free account
hub / github.com/Effect-TS/effect / resize

Method resize

packages/effect/src/Effect.ts:11777–11777  ·  view source on GitHub ↗

* Adjusts the number of permits available in the semaphore.

(permits: number)

Source from the content-addressed store, hash-verified

11775 * Adjusts the number of permits available in the semaphore.
11776 */
11777 resize(permits: number): Effect<void>
11778
11779 /**
11780 * Runs an effect with the given number of permits and releases the permits

Callers 1

semaphore.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected