DoubleEntryLedger.Workers.CommandWorkerBehaviour behaviour (double_entry_ledger v0.2.0)
View SourceBehaviour for command worker implementations.
Defines the contract for processing commands by ID, allowing alternative implementations for testing (e.g., mocking crashes).
Summary
Callbacks
@callback process_command_with_id(Ecto.UUID.t(), String.t()) :: {:ok, term(), term()} | {:error, term()}