| 54 | * state — callers inspect `status` first. |
| 55 | */ |
| 56 | export 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) |
nothing calls this directly
no outgoing calls
no test coverage detected