feat: wip
This commit is contained in:
@@ -10,7 +10,7 @@ import TCAExtras
|
||||
@Reducer
|
||||
public struct CalculateAtFeature: Sendable {
|
||||
|
||||
@Reducer(state: .equatable)
|
||||
@Reducer(state: .equatable, .sendable)
|
||||
public enum Destination {
|
||||
case infoView(InfoViewFeature)
|
||||
}
|
||||
@@ -39,16 +39,16 @@ public struct CalculateAtFeature: Sendable {
|
||||
&& values.targetValue != nil
|
||||
}
|
||||
|
||||
public subscript<T>(dynamicMember keyPath: KeyPath<CalculationType, T>) -> T {
|
||||
public subscript<T: Sendable>(dynamicMember keyPath: KeyPath<CalculationType, T>) -> T {
|
||||
calculationType[keyPath: keyPath]
|
||||
}
|
||||
|
||||
public subscript<T>(dynamicMember keyPath: WritableKeyPath<ValueContainer, T>) -> T {
|
||||
public subscript<T: Sendable>(dynamicMember keyPath: WritableKeyPath<ValueContainer, T>) -> T {
|
||||
get { values[keyPath: keyPath] }
|
||||
set { values[keyPath: keyPath] = newValue }
|
||||
}
|
||||
|
||||
public enum Focus: Hashable {
|
||||
public enum Focus: Hashable, Sendable {
|
||||
case existingAirflow
|
||||
case existingPressure
|
||||
case targetValue
|
||||
|
||||
Reference in New Issue
Block a user