Skip to content

Commit 06fb7a3

Browse files
committed
Update types to Sendable
1 parent 1a98d04 commit 06fb7a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/ComposableArchitecturePattern/Server.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import SwiftUI
99
import OSLog
1010

1111
/// The HTTP method type.
12-
public enum HTTPMethod: String, Equatable {
12+
public enum HTTPMethod: String, Equatable, Sendable {
1313
case DELETE
1414
case GET
1515
case POST

Sources/ComposableArchitecturePattern/ServerEnvironment.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import Foundation
99

1010
/// A server environment with url path.
11-
public enum ServerEnvironment: Hashable, CustomStringConvertible {
11+
public enum ServerEnvironment: Hashable, CustomStringConvertible, Sendable, Equatable {
1212
/// A development environment.
1313
case development(url: String)
1414
/// A local environment.

0 commit comments

Comments
 (0)