示例#1
0
 private void HandleCommand(TCommand command)
 => Sender.Tell(
     _root
     .HandleCommand(command)
     .Do(events => PersistAll(events, ApplyEvent))
     .Select(_ => Unit.Value)
     );