feat: Conforming types to Sendable
This commit is contained in:
@@ -12,12 +12,12 @@ extension DependencyValues {
|
||||
}
|
||||
|
||||
@DependencyClient
|
||||
public struct EstimatedPressureDependency {
|
||||
public struct EstimatedPressureDependency: Sendable {
|
||||
|
||||
public var estimatedAirflow: (EstimatedAirflowRequest) async throws -> Positive<Double>
|
||||
public var estimatedPressure: (EstimatedPressureRequest) async throws -> Positive<Double>
|
||||
public var estimatedAirflow: @Sendable (EstimatedAirflowRequest) async throws -> Positive<Double>
|
||||
public var estimatedPressure: @Sendable (EstimatedPressureRequest) async throws -> Positive<Double>
|
||||
|
||||
public struct EstimatedPressureRequest: Equatable {
|
||||
public struct EstimatedPressureRequest: Equatable, Sendable {
|
||||
public let existingPressure: Positive<Double>
|
||||
public let existingAirflow: Positive<Double>
|
||||
public let targetAirflow: Positive<Double>
|
||||
@@ -33,7 +33,7 @@ public struct EstimatedPressureDependency {
|
||||
}
|
||||
}
|
||||
|
||||
public struct EstimatedAirflowRequest: Equatable {
|
||||
public struct EstimatedAirflowRequest: Equatable, Sendable {
|
||||
public let existingAirflow: Positive<Double>
|
||||
public let existingPressure: Positive<Double>
|
||||
public let targetPressure: Positive<Double>
|
||||
|
||||
Reference in New Issue
Block a user