Documentation Language: Swift

Method

execute()

Execute the command, applying its changes to the model.

@MainActor func execute() async throws -> any Sendable

Return Value

The result of command execution

Discussion

This method performs the primary operation of the command, modifying the target model elements as specified.