MCPcopy Index your code
hub / github.com/codeaashu/claude-code / flushTaskOutput

Function flushTaskOutput

src/utils/task/diskOutput.ts:276–281  ·  view source on GitHub ↗
(taskId: string)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
flushMethod · 0.45

Tested by

no test coverage detected