Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Zoo-Code-Org/Zoo-Code
/ TaskSemaphore.spec.ts
File
TaskSemaphore.spec.ts
src/utils/__tests__/TaskSemaphore.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ TaskSemaphore } from
"../TaskSemaphore"
2
3
describe(
"TaskSemaphore"
, () => {
4
it(
"acquire() resolves immediately when permits are available"
,
async
() => {
Callers
nothing calls this directly
Calls
3
acquire
Method · 0.80
all
Method · 0.80
cancel
Method · 0.45
Tested by
no test coverage detected