feat: Updates for Sendable conformance

This commit is contained in:
2024-11-09 01:16:57 -05:00
parent 529b9b0bc5
commit 79bb162434
8 changed files with 43 additions and 25 deletions

View File

@@ -1,9 +1,9 @@
import Psychrometrics
@preconcurrency import Psychrometrics
/// Represents a temperature and humidity sensor that can be used to derive
/// the dew-point temperature and enthalpy values.
///
public struct TemperatureAndHumiditySensor: Equatable, Hashable, Identifiable {
public struct TemperatureAndHumiditySensor: Equatable, Hashable, Identifiable, @unchecked Sendable {
/// The identifier of the sensor, same as the location.
public var id: Location { location }