MCPcopy
hub / github.com/anomalyco/opencode / busy

Function busy

packages/opencode/test/preload.ts:16–17  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

14 await AppRuntime.dispose()
15
16 const busy = (error: unknown) =>
17 typeof error === "object" && error !== null && "code" in error && error.code === "EBUSY"
18 const rm = async (left: number): Promise<void> => {
19 Bun.gc(true)
20 await sleep(100)

Callers 3

rmFunction · 0.70
LiteSectionFunction · 0.50
InstallFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected