Fix README

This commit is contained in:
Arnaud 2025-10-09 08:34:19 +02:00
parent 989006ca07
commit 341cd21cb2
No known key found for this signature in database
GPG Key ID: 20E40A5D3110766F

View File

@ -167,7 +167,7 @@ The `stream` strategy is the easiest to use.
It provides an `onProgress` callback to receive progress updates and notify the user.
The percentage is calculated from the `datasetSize` (taken from the manifest).
If you dont provide it, you can enable `datasetSizeAuto` so `DownloadStream` fetches the
manifest and uses its `datasetSize`.
manifest first and uses its `datasetSize`.
You can pass a `write` callback and/or a `filepath` as destinations. They are not mutually exclusive,
letting you write the content to two places for the same download.