(ms: number)
| 45 | |
| 46 | // ── Timing ────────────────────────────────────────────────────────────────── |
| 47 | export const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms)); |
| 48 | |
| 49 | /** Poll `fn` until it returns a truthy value or the timeout elapses. */ |
| 50 | export async function pollUntil<T>( |
no outgoing calls
no test coverage detected