You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -98,15 +110,15 @@ const tm = new S3TransferManager({
98
110
});
99
111
```
100
112
101
-
## Methods
113
+
# Methods
102
114
103
-
### upload()
115
+
## upload()
104
116
105
117
> 🚧 **Under Development**
106
118
>
107
119
> Documentation will be available when this feature is implemented.
108
120
109
-
### download()
121
+
## download()
110
122
111
123
Downloads objects from S3 using multipart download with two modes:
112
124
@@ -153,6 +165,60 @@ Both modes validate data integrity:
153
165
154
166
We do not recommend updating the object you're downloading mid-download as this may throw a [Precondition Failed error](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/http-412-precondition-failed.html).
Removes a previously registered event listener from the specified eventtype.You must pass the exact same function reference that was used when adding the listener.
334
+
Removes a previously registered event listener from the specified event type.
269
335
270
-
**Important:** If you plan to remove event listeners during transfer lifecycle, define your callback as a named function or variable - you cannot remove anonymous functions.
336
+
**Important:** If you plan to remove event listeners during transfer lifecycle, define your callback as a named function or variable as you cannot remove anonymous functions.
271
337
272
338
**Parameters:**
273
339
@@ -367,6 +433,27 @@ try {
367
433
368
434
Event listeners can be configured at two levels: **client-level** (applies to all transfers) and **request-level** (applies to specific transfers). (see [Event Handling](#event-handling))
369
435
436
+
In the following code we will define basic callback functions that will be used in the proceeding examples:
0 commit comments