Teller

@Service
class Teller(commands: CommandClient)

Deposits from application code, through the host's CommandClient: the same admission as the HTTP routes.

Constructors

Link copied to clipboard
constructor(commands: CommandClient)

Functions

Link copied to clipboard
suspend fun deposit(accountId: String, amount: Long): CommandResult