brows3r — TypeScript API
    Preparing search index...

    Function applyProgressEvent

    • Apply a transfer:progress event to the store.

      Merges the progress fields into the existing transfer record. If no record exists yet (race: progress arrives before the initial upsert), a minimal placeholder is created so the UI can render immediately.

      Parameters

      • payload: {
            bytesDone: number;
            bytesTotal?: number;
            partsDone: number;
            partsTotal: number;
            requestId: string;
        }

      Returns void