feat(upload): Add transfer_speed for downloading and uploading files (#1797)

Co-authored-by: Victor Aremu <me@victorare.mu>
Co-authored-by: Fabian-Lars <github@fabianlars.de>
This commit is contained in:
Artaza Sameen
2024-11-05 03:11:48 +05:30
committed by GitHub
parent e0d2e2c53f
commit 87cc58527d
4 changed files with 74 additions and 1 deletions
+1
View File
@@ -7,6 +7,7 @@ import { invoke, Channel } from '@tauri-apps/api/core'
interface ProgressPayload {
progress: number
total: number
transferSpeed: number
}
type ProgressHandler = (progress: ProgressPayload) => void