get_task
Poll the status of a dispatched background job to confirm it finished, then check whether it succeeded before assuming the outcome.
Instructions
Check whether a background job has finished, and whether it worked.
Undo, verification, import and reindex are dispatched to a worker and
answer before the work is done. Poll this until finished is true, then
read succeeded. Submitting one of those operations and never checking
leaves you assuming an outcome you have not seen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Task id returned by whatever dispatched the work, e.g. the task_id from undo_transaction or verify_tree. |