@@ -48,7 +48,6 @@ import Foundation
48
48
/// - Throws:
49
49
/// - An error if the operation failed, for example if Storage was unreachable.
50
50
/// - Returns: StorageMetadata with additional information about the object being uploaded.
51
- @discardableResult
52
51
func putDataAsync( _ uploadData: Data ,
53
52
metadata: StorageMetadata ? = nil ,
54
53
onProgress: ( ( Progress ? ) -> Void ) ? = nil ) async throws -> StorageMetadata {
@@ -86,7 +85,6 @@ import Foundation
86
85
/// - Throws:
87
86
/// - An error if the operation failed, for example if no file was present at the specified `url`.
88
87
/// - Returns: `StorageMetadata` with additional information about the object being uploaded.
89
- @discardableResult
90
88
func putFileAsync( from url: URL ,
91
89
metadata: StorageMetadata ? = nil ,
92
90
onProgress: ( ( Progress ? ) -> Void ) ? = nil ) async throws -> StorageMetadata {
@@ -122,7 +120,6 @@ import Foundation
122
120
/// - An error if the operation failed, for example if Storage was unreachable
123
121
/// or `fileURL` did not reference a valid path on disk.
124
122
/// - Returns: A `URL` pointing to the file path of the downloaded file.
125
- @discardableResult
126
123
func writeAsync( toFile fileURL: URL ,
127
124
onProgress: ( ( Progress ? ) -> Void ) ? = nil ) async throws -> URL {
128
125
guard let onProgress else {
0 commit comments