( imageNames: string[], fetchImage: ImageFetchFunction, options: ImageZipExportOptions, onProgress?: ImageZipProgressCallback )
| 83 | } |
| 84 | |
| 85 | export async function downloadImagesZip( |
| 86 | imageNames: string[], |
| 87 | fetchImage: ImageFetchFunction, |
| 88 | options: ImageZipExportOptions, |
| 89 | onProgress?: ImageZipProgressCallback |
| 90 | ): Promise<void> { |
| 91 | const blob = await exportImagesZip(imageNames, fetchImage, options, onProgress); |
| 92 | downloadBlob(blob, 'images.zip'); |
| 93 | } |
no test coverage detected