(ms: number)
| 108 | } |
| 109 | |
| 110 | const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms)); |
| 111 | |
| 112 | /** Sleep until the GitHub Search rate-limit resets if we're nearly empty. */ |
| 113 | async function respectRateLimit(res: Response, label: string) { |
no outgoing calls
no test coverage detected