// With decorated command / manual VersionConflictError handling await account.deposit(20)
// With retries for undecorated command await account.executeCommand({name: 'deposit'}, 20)
Committing without loading instance
When you want to commit events that have happened, you might not care about the current state. In such cases, you can avoid loading the existing events by using the Aggregate.commit method.