Skip to content

Commit

Permalink
Add more sendability
Browse files Browse the repository at this point in the history
  • Loading branch information
ubfelix committed Oct 18, 2024
1 parent b43e20a commit 289eaaf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import Foundation

public extension UBURLDataTask {
struct MetaData {
struct MetaData: Sendable {
public let info: UBNetworkingTaskInfo?
public let response: HTTPURLResponse?
}
Expand Down Expand Up @@ -69,7 +69,7 @@ public extension UBURLDataTask {
TaskConfig(session: session)
}

struct TaskResult<T> {
struct TaskResult<T: Sendable>: Sendable {
init(resultTuple: ResultTuple<T>) {
self.resultTuple = resultTuple
}
Expand Down

0 comments on commit 289eaaf

Please sign in to comment.