MCPcopy Create free account
hub / github.com/anomalyco/opencode / leave

Function leave

packages/app/src/utils/aim.ts:132–135  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

130 }
131
132 const leave = (id: string) => {
133 if (state.over === id) state.over = undefined
134 if (state.pending === id) cancel()
135 }
136
137 return { move, enter, leave, activate, request, cancel, reset }
138}

Callers

nothing calls this directly

Calls 1

cancelFunction · 0.70

Tested by

no test coverage detected