MCPcopy Create free account
hub / github.com/cloudflare/computer / close

Method close

packages/dofs/src/testing.ts:72–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 }
71
72 close(): void {
73 // StatementSync instances are released when the database closes.
74 this.cache.clear();
75 this.db.close();
76 }
77}
78
79// node:sqlite is strict about input shapes: it accepts strings, numbers,

Callers 10

withFsFunction · 0.95
withDBFunction · 0.95
withTwoDBsFunction · 0.95
fixtureFunction · 0.95
makePeerFunction · 0.95
makePeerFunction · 0.95
makeReceiverWithSpyFunction · 0.95
startHarnessFunction · 0.95
startCompositeHarnessFunction · 0.95
mainFunction · 0.95

Calls 2

clearMethod · 0.65
closeMethod · 0.65

Tested by 6

withFsFunction · 0.76
fixtureFunction · 0.76
makePeerFunction · 0.76
makeReceiverWithSpyFunction · 0.76
startHarnessFunction · 0.76
startCompositeHarnessFunction · 0.76