Skip to content

Commit f2a903b

Browse files
jshierp4checo
authored andcommitted
Conditionally conform BindableState to Sendable. (#1834)
(cherry picked from commit 888af2fafc78c81b86d1da436142fa814cbd9c98)
1 parent 9fae28d commit f2a903b

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
@@ -94,6 +94,8 @@ extension BindableState: CustomDebugStringConvertible where Value: CustomDebugSt
9494
}
9595
}
9696

97+
extension BindableState: Sendable where Value: Sendable {}
98+
9799
/// An action type that exposes a `binding` case that holds a ``BindingAction``.
98100
///
99101
/// Used in conjunction with ``BindableState`` to safely eliminate the boilerplate typically

0 commit comments

Comments
 (0)