Async Demo Job
async_demo_submitSubmit a long-running computation as a background job and receive a job ID instantly. Poll job_status or job_result for the outcome; identical resubmissions hit the cache and skip recomputation.
Instructions
Reference async long-solve: launch a job that runs OFF the MCP channel and return immediately, so a multi-minute solve never blocks the worker. (This demo just computes for duration_s then returns a deterministic result; a real FEM/CFD solve plugs into the same facility — see ankusdrive/jobs.py.) Returns {job_id, status, cache_hit}; poll with job_status / job_result. A re-submit with identical (duration_s, value) is a content-hash cache hit (no recompute).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | ||
| duration_s | No |