MCPcopy Index your code
hub / github.com/CapSoftware/Cap / waitForRetry

Function waitForRetry

apps/web/workflows/edit-video.ts:68–70  ·  view source on GitHub ↗
(delayMs: number)

Source from the content-addressed store, hash-verified

66}
67
68async function waitForRetry(delayMs: number): Promise<void> {
69 await new Promise((resolve) => setTimeout(resolve, delayMs));
70}
71
72function getDurationTolerance(duration: number) {
73 if (!Number.isFinite(duration) || duration <= 0) return 0.5;

Callers 3

startMediaServerEditJobFunction · 0.70
verifyRenderedEditOutputFunction · 0.70
waitForEditCompletionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected