{ "name": "download.pause \u2014 applied to a two-task selection", "description": "Progress is flushed to .veloxpart.meta, so a pause is indistinguishable from a crash as far as resume is concerned.", "request": { "jsonrpc": "2.0", "id": 21, "method": "download.pause", "params": { "taskIds": [ "$taskId", "$taskId2" ] } }, "response": { "jsonrpc": "2.0", "id": 21, "result": { "updated": [ { "taskId": "3f7a2b1c-5d6e-4f80-9a1b-2c3d4e5f6071", "state": "paused", "changed": true }, { "taskId": "8c1d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f", "state": "paused", "changed": false } ], "failed": [] } }, "assertions": [ "a task already in the target state is reported with changed false, not as a failure", "an unknown id lands in failed[] with -32010 and never fails the whole call", "event.task.state is emitted for every entry whose changed is true" ] }