{ "name": "event.task.progress \u2014 one batched tick for two tasks", "description": "A single array at no more than 4 Hz, never one notification per task. At twenty active downloads that is four messages a second instead of eighty.", "notification": { "jsonrpc": "2.0", "method": "event.task.progress", "params": { "tasks": [ { "taskId": "3f7a2b1c-5d6e-4f80-9a1b-2c3d4e5f6071", "downloadedBytes": 2941190144, "speedBps": 29796556, "etaSeconds": 110, "segments": [ { "index": 0, "downloadedBytes": 402653184, "speedBps": 4089446 }, { "index": 1, "downloadedBytes": 356515840, "speedBps": 3565158 } ] }, { "taskId": "8c1d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f", "downloadedBytes": 402653184, "speedBps": 0, "etaSeconds": null, "segments": [] } ], "at": "$isoDate" } }, "assertions": [ "emitted at no more than 4 Hz regardless of how many tasks are active", "clients apply a row patch; rebuilding the model on this event is a bug", "a task with no segment detail still reports its byte counter" ] }