Moving the model into and out of the db functions creates more messages, but allows for less complexity in the overall library module. This means that the library can just use those functions to change the model and db, but need to remember to readd the items to the model once the function is finished in the async function. |
||
|---|---|---|
| .. | ||
| core | ||
| ui | ||
| lisp.rs | ||
| main.rs | ||