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

Function evictTaskOutput

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

Source from the content-addressed store, hash-verified

288 * Call this when a task completes and its output has been consumed.
289 */
290export function evictTaskOutput(taskId: string): Promise<void> {
291 return track(
292 (async () => {
293 const output = outputs.get(taskId)
294 if (output) {
295 await output.flush()
296 outputs.delete(taskId)
297 }
298 })(),
299 )
300}
301
302/**
303 * Get delta (new content) since last read.

Callers 13

killInProcessTeammateFunction · 0.85
runInProcessTeammateFunction · 0.85
clearConversationFunction · 0.85
completeMainSessionTaskFunction · 0.85
pollFunction · 0.85
killFunction · 0.85
killTaskFunction · 0.85
spawnShellTaskFunction · 0.85
backgroundTaskFunction · 0.85
killAsyncAgentFunction · 0.85
completeAgentTaskFunction · 0.85

Calls 4

trackFunction · 0.85
deleteMethod · 0.80
getMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected