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

Function clear

packages/desktop/src/main/updater-subscriptions.ts:15–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 },
14 delete: remove,
15 clear() {
16 subscriptions.forEach((unsubscribe) => unsubscribe())
17 subscriptions.clear()
18 },
19 }
20}

Callers

nothing calls this directly

Calls 2

unsubscribeFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected