Documentation Language: Swift

Method

createCompoundCommand(_:)

Create a compound command from multiple commands.

@MainActor func createCompoundCommand(_ commands: [EMFCommand]) -> CompoundCommand

Parameters

commands

Array of commands to combine

Return Value

A CompoundCommand that executes all commands atomically