mirror of
https://git.um-react.app/um/um-react.git
synced 2026-12-03 17:44:00 +00:00
- Introduced new batch download settings in the settings slice, allowing users to configure options for directory picking, streaming ZIP downloads, and blob ZIP downloads. - Implemented a new general settings panel for managing batch download preferences. - Added utility functions to handle directory selection and ZIP file creation. - Updated the download logic to support multiple download modes based on user preferences. - Enhanced documentation to reflect changes in batch download functionality.
5 lines
206 B
TypeScript
5 lines
206 B
TypeScript
/** True when the user cancelled a File System Access picker (or similar AbortError). */
|
|
export function isAbortError(e: unknown): boolean {
|
|
return e instanceof DOMException && e.name === 'AbortError';
|
|
}
|