MCPcopy Index your code
hub / github.com/anomalyco/opencode / notify

Function notify

packages/opencode/test/cli/run/runtime.test.ts:88–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86 const closes = new Set<() => void>()
87
88 const notify = () => {
89 for (const fn of closes) fn()
90 }
91
92 return {
93 get isClosed() {

Callers 2

closeFunction · 0.70
destroyFunction · 0.70

Calls 1

fnFunction · 0.50

Tested by

no test coverage detected