tandem_wait
Wait for any selected task to finish or ask a question, returning ready IDs or questions instead of full answers. Use tandem_result for terminal results and to remove tasks from later waits.
Instructions
Wait for ANY selected task to finish or ask a question, not for each in turn.
wait_seconds: 0..1200, served in full by the server; a client may stop holding the call in the foreground first; if it says it moved the request to a background task, read that result. wait_mode works as in tandem_result: "auto" also returns once event delivery covers every pending task, "bounded" waits for one of them to become ready. Returns ready IDs/questions, not full answers. Read ready terminal results with tandem_result and remove them from later wait sets; reply directly to a returned question. Does not acknowledge terminal events or rerun work. Await events only with a live independent watchdog.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_ids | Yes | ||
| wait_mode | No | auto | |
| wait_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||