MCPcopy Index your code
hub / github.com/OpenBMB/UltraRAG / fetchBackgroundTask

Function fetchBackgroundTask

ui/frontend/src/shared/api/backgroundTasks.ts:23–25  ·  view source on GitHub ↗
(taskId: string)

Source from the content-addressed store, hash-verified

21}
22
23export async function fetchBackgroundTask(taskId: string): Promise<BackgroundTask> {
24 return httpRequest<BackgroundTask>(`/api/background-tasks/${encodeURIComponent(taskId)}`);
25}
26
27export async function deleteBackgroundTask(taskId: string): Promise<{ status: string }> {
28 return httpRequest<{ status: string }>(`/api/background-tasks/${encodeURIComponent(taskId)}`, {

Callers 1

Calls 1

httpRequestFunction · 0.90

Tested by

no test coverage detected