File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
packages/amplify_core/lib/src/types/storage Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -18,4 +18,18 @@ abstract class StorageUploadFileOperation<
18
18
required super .request,
19
19
required super .result,
20
20
});
21
+
22
+ /// Pauses the operation that is in progress.
23
+ ///
24
+ /// This has no effect on S3 upload operations that do not require a multi part
25
+ /// upload (over 5 MiB). Uploads smaller than 5 MiB cannot be paused or resumed.
26
+ @override
27
+ Future <void > pause ();
28
+
29
+ /// Resumes the operation that is in a paused state.
30
+ ///
31
+ /// This has no effect on S3 upload operations that do not require a multi part
32
+ /// upload (over 5 MiB). Uploads smaller than 5 MiB cannot be paused or resumed.
33
+ @override
34
+ Future <void > resume ();
21
35
}
You can’t perform that action at this time.
0 commit comments