(taskId: string)
| 255 | } |
| 256 | |
| 257 | function getOrCreateOutput(taskId: string): DiskTaskOutput { |
| 258 | let output = outputs.get(taskId) |
| 259 | if (!output) { |
| 260 | output = new DiskTaskOutput(taskId) |
| 261 | outputs.set(taskId, output) |
| 262 | } |
| 263 | return output |
| 264 | } |
| 265 | |
| 266 | /** |
| 267 | * Append output to a task's disk file asynchronously. |
no test coverage detected