MCPcopy Create free account
hub / github.com/Roy3838/Observer / cancelPull

Function cancelPull

app/src/utils/pullModelManager.ts:134–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132};
133
134const cancelPull = () => {
135 if (state.status === 'pulling') {
136 abortController?.abort();
137 }
138};
139
140const subscribe = (listener: Listener): (() => void) => {
141 listeners.push(listener);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected