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

Function runWithWorkload

source code/utils/workloadContext.ts:54–59  ·  view source on GitHub ↗
(
  workload: string | undefined,
  fn: () => T,
)

Source from the content-addressed store, hash-verified

52 * exactly what the caller passed — including `undefined`.
53 */
54export function runWithWorkload<T>(
55 workload: string | undefined,
56 fn: () => T,
57): T {
58 return workloadStorage.run({ workload }, fn)
59}

Callers 2

executeUserInputFunction · 0.85
drainCommandQueueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected