From cfb86cda3e583622cf4fe699ebd604a4395112ed Mon Sep 17 00:00:00 2001 From: andrew54068 <andrew0424718012@yahoo.com.tw> Date: Mon, 17 Oct 2022 18:31:03 +0800 Subject: [PATCH] feat: add sendable. --- Sources/Core/Protocols/URLSessionProtocol.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Core/Protocols/URLSessionProtocol.swift b/Sources/Core/Protocols/URLSessionProtocol.swift index c086380..6405416 100644 --- a/Sources/Core/Protocols/URLSessionProtocol.swift +++ b/Sources/Core/Protocols/URLSessionProtocol.swift @@ -11,7 +11,7 @@ import UIKit public protocol URLSessionProtocol { func dataTask( with request: URLRequest, - completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void + completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void ) -> URLSessionDataTask }