From 76f9baf279eb77e59ee86a723efa91ab35c17220 Mon Sep 17 00:00:00 2001 From: Alex Plekhov <44156348+AlexPlekhov@users.noreply.github.com> Date: Fri, 8 Apr 2022 12:26:55 +0300 Subject: [PATCH] Update README.md Add a comment for begin prop for downloadFile method --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b0002f6f..839b0d65 100644 --- a/README.md +++ b/README.md @@ -265,7 +265,8 @@ var files = [ } ]; -var uploadBegin = (response) => { +var upload += (response) => { var jobId = response.jobId; console.log('UPLOAD HAS BEGUN! JobId: ' + jobId); }; @@ -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