( responses: Array<Response | null>, startIndex: number, )
| 26 | } |
| 27 | |
| 28 | async function cancelUnreadBatchResponses( |
| 29 | responses: Array<Response | null>, |
| 30 | startIndex: number, |
| 31 | ): Promise<void> { |
| 32 | await Promise.allSettled(responses.slice(startIndex).map(response => response?.body?.cancel())) |
| 33 | } |
| 34 | |
| 35 | function buildReadmeFetchCandidates(readmeFilename: string | undefined): string[] { |
| 36 | return readmeFilename |
no outgoing calls
no test coverage detected