Revert TodoList changes if Transaction fails
This will prevent from leaving TodoList and todo.txt file in inconsistent state whenever first Command.execute() inside Transaction succeeds and any subsequent fails for whatever reason.
Showing
Please register or sign in to comment