(key, taskRef = null)
| 46 | } |
| 47 | |
| 48 | function trackBatchTask(key, taskRef = null) { |
| 49 | if (!Object.prototype.hasOwnProperty.call(activeBatchTasks, key)) return; |
| 50 | activeBatchTasks[key] = taskRef ? normalizeTaskState(taskRef) : null; |
| 51 | updateBatchButtons(); |
| 52 | } |
| 53 | |
| 54 | function patchBatchTask(key, patch = {}) { |
| 55 | if (!Object.prototype.hasOwnProperty.call(activeBatchTasks, key)) return; |
no test coverage detected