nested runtimes
For a bit of context I'm developing an app where I can create Pages of a website and store them in sqlite
so far I have the page creation working, tests passing but now I want to implement undo/redo. and ideally I would like to be able to group actions in order for instance to add two pages in the same transaction
here is the code I have so far
and here is the CreatePageCommand
and I call it like this
this works but it does not support undo/redo nor grouping commands


so far I have the page creation working, tests passing but now I want to implement undo/redo. and ideally I would like to be able to group actions in order for instance to add two pages in the same transaction
here is the code I have so far
and here is the CreatePageCommand
and I call it like this
this works but it does not support undo/redo nor grouping commands
