Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Zoo-Code-Org/Zoo-Code
/ finish
Function
finish
apps/cli/src/commands/cli/list.ts:159–164 ·
view source on GitHub ↗
(fn: () => void)
Source
from the content-addressed store, hash-verified
157
}
158
159
const
finish = (fn: () => void) => {
160
if
(settled)
return
161
settled = true
162
cleanup()
163
fn()
164
}
165
166
const
onMessage = (message: unknown) => {
167
if
(!isRecord(message)) {
Callers
2
onMessage
Function · 0.85
requestFromExtension
Function · 0.85
Calls
1
cleanup
Function · 0.70
Tested by
no test coverage detected