sending(_:)

Creates a binding to the value by sending new values through the given action.

Binding+Observation.swift:250
@preconcurrency @MainActor func sending(_ action: CaseKeyPath<Action, Value>) -> Binding<Value>

Parameters

action

An action for the binding to send values through.

Returns

A binding.