send(_:transaction:)

Sends an action to the store with a given transaction.

ViewStore.swift:280
iOS
deprecated
macOS
deprecated
tvOS
deprecated
watchOS
deprecated
@discardableResult @MainActor func send(_ action: ViewAction, transaction: Transaction) -> StoreTask

Parameters

action

An action.

transaction

A transaction.

See send(_:) for more info.