Method
execute(_:)
Execute a command through the editing domain.
@MainActor func execute(_ command: EMFCommand) async throws -> any Sendable
Parameters
command-
The command to execute
Return Value
The result of command execution
Discussion
This method coordinates command execution with change notification and validation, ensuring proper integration with the editing domain’s lifecycle and observer pattern.