UNPKG

filepond

Version:

FilePond, where files go to stretch their bits.

9 lines (8 loc) • 426 B
import type { FilePondEntry, Progress } from '../types/index.js'; /** * Simulate progress, we'll look at progress from actual upload and compare to simulated progress, we'll use the lower progress value */ export declare function createPerceivedPerformanceProxy(fn: any, options: any): (entry: FilePondEntry, { onprogress, signal, }: { onprogress: (e: Progress) => void; signal: AbortSignal; }) => Promise<unknown>;