mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-08-09 18:36:03 +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:
co-authored by
Victor Aremu
Fabian-Lars
parent
e0d2e2c53f
commit
87cc58527d
@@ -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