Instance Methodswift-composable-architecture 1.18.0ComposableArchitecture
sending(_:)
Creates a binding to the value by sending new values through the given action.
- iOS
- obsoleted
- macOS
- obsoleted
- tvOS
- obsoleted
- visionOS
- unavailable
- watchOS
- obsoleted
@preconcurrency @MainActor func sending(_ action: CaseKeyPath<Action, Value>) -> Binding<Value>
Parameters
- action
An action for the binding to send values through.
Returns
A binding.