MCPcopy
hub / github.com/Effect-TS/effect / release

Method release

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

* Releases the specified number of permits and returns the resulting * available permits.

(permits: number)

Source from the content-addressed store, hash-verified

11813 * available permits.
11814 */
11815 release(permits: number): Effect<number>
11816
11817 /**
11818 * Releases all permits held by this semaphore and returns the resulting available permits.

Callers 15

SemaphoreClass · 0.95
makeMemoryFunction · 0.80
makeFunction · 0.80
makeFunction · 0.80
Chat.tsFile · 0.80
makeFunction · 0.80
makeFunction · 0.80
semaphore.test.tsFile · 0.80
withPermitsScopedFunction · 0.80
PoolImplClass · 0.80
shutdownMethod · 0.80
tokenBucketFunction · 0.80

Calls

no outgoing calls

Tested by 1

withPermitsScopedFunction · 0.64