async Task Deposit(DepositAmount depositAmount) { var dac = await _env.GetAccountAmount(ThisActor); await _env.PutAccountAmount(ThisActor, dac + depositAmount.Amount); // after depositing, we send message to ourself to transfer // the amount to the next actor in ring await RetryPolicy.SendWithBackOff(_env, ThisActor, new SendAmount(depositAmount.Amount, NextActor)); }