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

Method release

packages/effect/src/Effect.ts:11816–11816  ·  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

11814 * available permits.
11815 */
11816 release(permits: number): Effect<number>
11817
11818 /**
11819 * 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