MCPcopy Create free account
hub / github.com/ecomfe/tempad-dev / unrefTimer

Function unrefTimer

packages/mcp-server/src/hub.ts:523–530  ·  view source on GitHub ↗
(timer: TimeoutHandle)

Source from the content-addressed store, hash-verified

521 pendingDesignBindings.set(task.taskId, binding)
522 try {
523 await binding
524 return createDesignTaskToolResponse(task)
525 } finally {
526 if (pendingDesignBindings.get(task.taskId) === binding)
527 pendingDesignBindings.delete(task.taskId)
528 }
529}
530
531async function bindDesignTask(
532 { task, ownerId }: DesignTaskRecord,
533 extension: ExtensionConnection,

Callers 2

scheduleAssetCleanupFunction · 0.85
shutdownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected