Skip to main content

setup

Function setup 

Source
pub fn setup() -> Result<(DbContext, Arc<EventHub>, UndoRedoManager)>
Expand description

Create an in-memory database with a Root and empty Document.

Returns (DbContext, Arc<EventHub>, UndoRedoManager).