mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-24 17:20:51 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user