Skip to content

Commit 888af2f

Browse files
authored
Conditionally conform BindableState to Sendable. (#1834)
1 parent a75e9dd commit 888af2f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/ComposableArchitecture/SwiftUI/Binding.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ extension BindableState: CustomDebugStringConvertible where Value: CustomDebugSt
9191
}
9292
}
9393

94+
extension BindableState: Sendable where Value: Sendable {}
95+
9496
/// An action type that exposes a `binding` case that holds a ``BindingAction``.
9597
///
9698
/// Used in conjunction with ``BindableState`` to safely eliminate the boilerplate typically

0 commit comments

Comments
 (0)