MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / flushTaskOutput

Function flushTaskOutput

source code/utils/task/diskOutput.ts:278–283  ·  view source on GitHub ↗
(taskId: string)

Source from the content-addressed store, hash-verified

276 * Useful before reading output to ensure all data is flushed.
277 */
278export async function flushTaskOutput(taskId: string): Promise<void> {
279 const output = outputs.get(taskId)
280 if (output) {
281 await output.flush()
282 }
283}
284
285/**
286 * Evict a task's DiskTaskOutput from the in-memory map after flushing.

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected