MCPcopy Create free account
hub / github.com/1111mp/electron_client / createTaskWithTimeout

Function createTaskWithTimeout

src/main/utils/taskWithTimeout.ts:52–127  ·  view source on GitHub ↗
(
  task: (...args: Args) => Promise<T>,
  id: string,
  options: { timeout?: number } = {}
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ipcInvokeFunction · 0.85

Calls 4

explodePromiseFunction · 0.90
stopTimerFunction · 0.85
startTimerFunction · 0.85
runFunction · 0.85

Tested by

no test coverage detected