MCPcopy
hub / github.com/guilhermerodz/input-otp / syncTimeouts

Function syncTimeouts

packages/input-otp/src/sync-timeouts.ts:1–6  ·  view source on GitHub ↗
(cb: (...args: any[]) => unknown)

Source from the content-addressed store, hash-verified

1export function syncTimeouts(cb: (...args: any[]) => unknown): number[] {
2 const t1 = setTimeout(cb, 0) // For faster machines
3 const t2 = setTimeout(cb, 1_0)
4 const t3 = setTimeout(cb, 5_0)
5 return [t1, t2, t3]
6}

Callers 1

input.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…