MCPcopy
hub / github.com/continuedev/continue / abort

Method abort

core/indexing/docs/DocsService.ts:301–314  ·  view source on GitHub ↗
(startUrl: string)

Source from the content-addressed store, hash-verified

299 }
300
301 abort(startUrl: string) {
302 if (this.docsIndexingQueue.has(startUrl)) {
303 const status = this.statuses.get(startUrl);
304 if (status) {
305 this.handleStatusUpdate({
306 ...status,
307 status: "aborted",
308 progress: 0,
309 description: "Canceled",
310 });
311 }
312 this.docsIndexingQueue.delete(startUrl);
313 }
314 }
315
316 // Used to check periodically during indexing if should cancel indexing
317 shouldCancel(startUrl: string, startedWithEmbedder: string) {

Callers 15

shouldCancelMethod · 0.95
deleteMethod · 0.95
finalizeFunction · 0.45
abortByIdMethod · 0.45
dudLLMCallFunction · 0.45
constructorMethod · 0.45
refreshCodebaseIndexMethod · 0.45
disconnectMethod · 0.45
connectClientMethod · 0.45

Calls 3

handleStatusUpdateMethod · 0.95
getMethod · 0.65
deleteMethod · 0.65

Tested by

no test coverage detected