Archived
2
0

add status failed + error.

This commit is contained in:
Miroslav Šedivý
2022-11-19 17:35:02 +01:00
parent 950cb118cc
commit 76b44b949c
2 changed files with 47 additions and 10 deletions

View File

@ -35,6 +35,7 @@ export interface FileTransfer {
direction: 'upload' | 'download'
size: number
progress: number
status: 'pending' | 'inprogress' | 'completed'
abortController: AbortController | null
status: 'pending' | 'inprogress' | 'completed' | 'failed'
error?: string
abortController?: AbortController
}