@@ -143,7 +143,7 @@ internal extension URLSession {
143143 attempts: Int = 1 ,
144144 allowIntermediateResponses: Bool ,
145145 mapper: @escaping ( Data ) async throws -> U ,
146- completion: @escaping ( Result < U , ParseError > ) -> Void
146+ completion: @escaping ( Result < U , ParseError > ) -> Void
147147 ) async {
148148 do {
149149 let ( responseData, urlResponse) = try await dataTask ( for: request)
@@ -288,7 +288,7 @@ internal extension URLSession {
288288 from file: URL ? ,
289289 progress: ( ( URLSessionTask , Int64 , Int64 , Int64 ) -> Void ) ? ,
290290 mapper: @escaping ( Data ) async throws -> U ,
291- completion: @escaping ( Result < U , ParseError > ) -> Void
291+ completion: @escaping ( Result < U , ParseError > ) -> Void
292292 ) {
293293 var task : URLSessionTask ?
294294 if let data = data {
@@ -354,7 +354,7 @@ internal extension URLSession {
354354 with request: URLRequest ,
355355 progress: ( ( URLSessionDownloadTask , Int64 , Int64 , Int64 ) -> Void ) ? ,
356356 mapper: @escaping ( Data ) async throws -> U ,
357- completion: @escaping ( Result < U , ParseError > ) -> Void
357+ completion: @escaping ( Result < U , ParseError > ) -> Void
358358 ) async {
359359 let task = downloadTask ( with: request) { ( location, urlResponse, responseError) in
360360 Task {
@@ -374,7 +374,7 @@ internal extension URLSession {
374374 func downloadTask< U> (
375375 with request: URLRequest ,
376376 mapper: @escaping ( Data ) async throws -> U ,
377- completion: @escaping ( Result < U , ParseError > ) -> Void
377+ completion: @escaping ( Result < U , ParseError > ) -> Void
378378 ) {
379379 Task {
380380 do {
0 commit comments