Skip to content

Commit 092b538

Browse files
committed
refactor: Sendable 제거
1 parent d61f063 commit 092b538

4 files changed

Lines changed: 8 additions & 8 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, Sendable {
10+
public enum AuthProvider: String, CaseIterable {
1111
case apple = "apple.com"
1212
case google = "google.com"
1313
case github = "github.com"

Application/DevLogDomain/Sources/Entity/TodoMutationEvent.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Created by opfic on 6/6/26.
66
//
77

8-
public enum TodoMutationEvent: Equatable, Sendable {
8+
public enum TodoMutationEvent: Equatable {
99
case updated(String)
1010
case deleted(String)
1111
case restored(String)

Application/DevLogPersistence/Sources/Persistence/WebPageImageStoreImpl.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ final class WebPageImageStoreImpl: WebPageImageStore {
5151
}
5252

5353
private extension WebPageImageStoreImpl {
54-
func perform<T: Sendable>(_ operation: @escaping @Sendable () throws -> T) async throws -> T {
54+
func perform<T>(_ operation: @escaping () throws -> T) async throws -> T {
5555
try await withCheckedThrowingContinuation { continuation in
5656
queue.async {
5757
do {

Application/DevLogPresentation/Sources/Login/LoginFeature.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ struct LoginFeature {
2020
var alertMessage = ""
2121
}
2222

23-
enum Action: Sendable {
23+
enum Action {
2424
case setAlert(Bool, AlertType? = nil)
2525
case tapSignInButton(AuthProvider)
2626
case signInSucceeded
2727
case signInFailed(AlertType)
2828
case signInCancelled
2929
}
3030

31-
enum AlertType: Equatable, Sendable {
31+
enum AlertType: Equatable {
3232
case emailUnavailable
3333
case error
3434
}
@@ -65,10 +65,10 @@ struct LoginFeature {
6565
}
6666
}
6767

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

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

0 commit comments

Comments
 (0)