Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add a comment for begin prop for downloadFile method
  • Loading branch information
AlexPlekhov authored Apr 8, 2022
1 parent fcb62f6 commit 76f9baf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ var files = [
}
];

var uploadBegin = (response) => {
var upload
= (response) => {
var jobId = response.jobId;
console.log('UPLOAD HAS BEGUN! JobId: ' + jobId);
};
Expand Down Expand Up @@ -558,7 +559,7 @@ type DownloadFileOptions = {
cacheable?: boolean; // Whether the download can be stored in the shared NSURLCache (iOS only, defaults to true)
progressInterval?: number;
progressDivider?: number;
begin?: (res: DownloadBeginCallbackResult) => void;
begin?: (res: DownloadBeginCallbackResult) => void; // Note: it is required when progress prop provided
progress?: (res: DownloadProgressCallbackResult) => void;
resumable?: () => void; // only supported on iOS yet
connectionTimeout?: number // only supported on Android yet
Expand Down

0 comments on commit 76f9baf

Please sign in to comment.