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