Skip to content

Commit 81d5d2d

Browse files
committed
feat: Sendable 채택
1 parent 5c50bac commit 81d5d2d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Application/DevLogDomain/Sources/Entity/AuthProvider.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import Foundation
99

10-
public enum AuthProvider: String, CaseIterable {
10+
public enum AuthProvider: String, CaseIterable, Sendable {
1111
case apple = "apple.com"
1212
case google = "google.com"
1313
case github = "github.com"

Application/DevLogPresentation/Sources/Login/LoginFeature.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ struct LoginFeature {
6565
}
6666
}
6767

68-
struct SignInUseCaseDependency {
69-
var execute: (AuthProvider) async throws -> Void
68+
struct SignInUseCaseDependency: Sendable {
69+
var execute: @Sendable (AuthProvider) async throws -> Void
7070

71-
init(execute: @escaping (AuthProvider) async throws -> Void) {
71+
init(execute: @escaping @Sendable (AuthProvider) async throws -> Void) {
7272
self.execute = execute
7373
}
7474
}

0 commit comments

Comments
 (0)