MCPcopy Create free account
hub / github.com/continuedev/continue / _getThreads

Method _getThreads

extensions/vscode/src/util/ideUtils.ts:363–372  ·  view source on GitHub ↗
(session: vscode.DebugSession)

Source from the content-addressed store, hash-verified

361 }
362
363 private async _getThreads(session: vscode.DebugSession) {
364 const threadsResponse = await session.customRequest("threads");
365 const threads = threadsResponse.threads.filter((thread: any) =>
366 threadStopped.get(thread.id),
367 );
368 threads.sort((a: any, b: any) => a.id - b.id);
369 threadsResponse.threads = threads;
370
371 return threadsResponse;
372 }
373
374 async getAvailableThreads(): Promise<Thread[]> {
375 const session = vscode.debug.activeDebugSession;

Callers 1

getAvailableThreadsMethod · 0.95

Calls 2

sortMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected