Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Effect-TS/effect
/ cleanup
Function
cleanup
packages/effect/src/PartitionedSemaphore.ts:118–123 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
116
}
117
}
118
function
cleanup() {
119
waiters.delete(entry)
120
if
(waiters.size === 0) {
121
MutableHashMap.remove(partitions, key)
122
}
123
}
124
waiters.add(entry)
125
return
Effect.sync(() => {
126
cleanup()
Callers
6
resume
Function · 0.85
take
Function · 0.85
core.ts
File · 0.85
stream.ts
File · 0.85
onError
Method · 0.85
runWithClient
Method · 0.85
Calls
1
remove
Method · 0.65
Tested by
no test coverage detected