File upload progress tracking for user feedback and monitoring.
Remarks
Provides real-time progress information during file uploads, enabling
applications to show progress bars and estimated completion times.
The speed calculation is typically based on a rolling average to
smooth out network fluctuations.
Example
// Upload with progress tracking awaitvana.data.upload(file, { onProgress: (progress: UploadProgress) => { // Update progress bar progressBar.style.width = `${progress.percentage}%`;
File upload progress tracking for user feedback and monitoring.
Remarks
Provides real-time progress information during file uploads, enabling applications to show progress bars and estimated completion times. The speed calculation is typically based on a rolling average to smooth out network fluctuations.
Example