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

Function onQueuedRemove

packages/opencode/test/cli/run/runtime.queue.test.ts:23–28  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

21 }
22 },
23 onQueuedRemove(fn) {
24 queuedRemoves.add(fn)
25 return () => {
26 queuedRemoves.delete(fn)
27 }
28 },
29 onClose(fn) {
30 if (closed) {
31 fn()

Callers

nothing calls this directly

Calls 2

addMethod · 0.65
deleteMethod · 0.45

Tested by

no test coverage detected