MCPcopy
hub / github.com/arc53/DocsGPT / TaskStatusBody

Interface TaskStatusBody

tests/e2e/helpers/uploads.ts:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 * state — callers inspect `status` first.
55 */
56export interface TaskStatusBody {
57 status: 'PENDING' | 'PROGRESS' | 'SUCCESS' | 'FAILURE' | string;
58 // Celery meta — free-form, but our worker uses dict OR str for errors
59 // eslint-disable-next-line @typescript-eslint/no-explicit-any
60 result?: any;
61}
62
63/**
64 * Poll /api/task_status until it reaches a terminal state (SUCCESS / FAILURE)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected