MCPcopy Index your code
hub / github.com/Effect-TS/effect / resize

Method resize

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

* Adjusts the number of permits available in the semaphore.

(permits: number)

Source from the content-addressed store, hash-verified

11774 * Adjusts the number of permits available in the semaphore.
11775 */
11776 resize(permits: number): Effect<void>
11777
11778 /**
11779 * 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