diff --git a/Sources/ComposableArchitecture/Effects/ConcurrencySupport.swift b/Sources/ComposableArchitecture/Effects/ConcurrencySupport.swift index 45f721027019..ea0fd233c327 100644 --- a/Sources/ComposableArchitecture/Effects/ConcurrencySupport.swift +++ b/Sources/ComposableArchitecture/Effects/ConcurrencySupport.swift @@ -395,3 +395,9 @@ public struct UncheckedSendable: @unchecked Sendable { _modify { yield &self.value[keyPath: keyPath] } } } + +extension UncheckedSendable: Equatable where Value: Equatable { + public static func == (lhs: UncheckedSendable, rhs: UncheckedSendable) -> Bool { + lhs.value == rhs.value + } +}