MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / parseMaxWaitMs

Function parseMaxWaitMs

packages/cli/src/commands/cloud/render.ts:318–321  ·  view source on GitHub ↗
(raw: string | undefined)

Source from the content-addressed store, hash-verified

316}
317
318function parseMaxWaitMs(raw: string | undefined): number {
319 const n = parseNumericFlag(raw, { flag: "--max-wait", min: 0.0001 });
320 return n === undefined ? DEFAULT_MAX_WAIT_MS : Math.round(n * 60_000);
321}
322
323const IDEMPOTENCY_KEY_RE = /^[A-Za-z0-9_:.-]{1,255}$/;
324

Callers 1

runFunction · 0.85

Calls 1

parseNumericFlagFunction · 0.85

Tested by

no test coverage detected