CommandId

interface CommandId

Represents a unique identifier for a command. This interface is part of the command handling mechanism, ensuring that each command can be uniquely identified.

Implementations of this interface are expected to provide a commandId which should be unique and used to identify the specific command instance. This is particularly useful in scenarios where idempotency of commands needs to be guaranteed or when tracking and correlating commands across system boundaries.

Inheritors

Properties

Link copied to clipboard
abstract val commandId: String

Represents a unique identifier for a command. This identifier is crucial for ensuring that each command can be uniquely identified, which is particularly useful in scenarios where idempotency of commands needs to be guaranteed or when tracking and correlating commands across system boundaries.