MCPcopy Create free account
hub / github.com/garrytan/gstack / freshSem

Function freshSem

test/agent-sdk-runner.test.ts:221–223  ·  view source on GitHub ↗
(cap = 10)

Source from the content-addressed store, hash-verified

219
220// Reset semaphore before each test that depends on fresh capacity.
221function freshSem(cap = 10): void {
222 __resetSemaphoreForTests(cap);
223}
224
225// ---------------------------------------------------------------------------
226// Happy path

Callers 1

Calls 1

__resetSemaphoreForTestsFunction · 0.90

Tested by

no test coverage detected