{ "name": "queue.stop \u2014 stop the queue and pause what is running", "description": "pauseRunning false would let in-flight tasks finish: the difference between stopping a queue and stopping everything.", "request": { "jsonrpc": "2.0", "id": 36, "method": "queue.stop", "params": { "queueId": "main", "pauseRunning": true } }, "response": { "jsonrpc": "2.0", "id": 36, "result": { "queue": { "queueId": "main", "name": "Main Queue", "state": "stopped", "maxConcurrent": 3, "taskIds": [ "3f7a2b1c-5d6e-4f80-9a1b-2c3d4e5f6071", "8c1d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f" ], "schedule": null, "onComplete": "nothing" }, "pausedTaskIds": [ "3f7a2b1c-5d6e-4f80-9a1b-2c3d4e5f6071", "8c1d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f" ] } }, "assertions": [ "with pauseRunning false, running tasks finish and only admission stops" ] }