mirror of
https://github.com/status-im/react-native-fs.git
synced 2025-02-28 23:10:29 +00:00
Update README.md
Corrected stopDownload return type
This commit is contained in:
parent
03a4aa11c6
commit
8f3efcb634
@ -224,7 +224,7 @@ If `progressCallback` is provided, it will be invoked continuously and passed a
|
||||
|
||||
Percentage can be computed easily by dividing `bytesWritten` by `contentLength`.
|
||||
|
||||
### `promise stopDownload(jobId)`
|
||||
### `void stopDownload(jobId)`
|
||||
|
||||
Abort the current download job with this ID. The partial file will remain on the filesystem.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user