MCPcopy
hub / github.com/CopilotKit/CopilotKit / refetchThreads

Function refetchThreads

packages/core/src/threads.ts:1344–1348  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1342 store.dispatch(threadRestEvents.listRequested({ sessionId }));
1343 },
1344 refetchThreads(): void {
1345 const { sessionId, context } = store.getState();
1346 if (!context) return;
1347 store.dispatch(threadRestEvents.listRequested({ sessionId }));
1348 },
1349 startNewThread(): void {
1350 store.dispatch(threadAdapterEvents.newThreadStarted());
1351 },

Callers 2

CopilotThreadsDrawerFunction · 0.85
threads.spec.tsFile · 0.85

Calls 2

getStateMethod · 0.65
dispatchMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…