Skip to main content

spawn_database

Function spawn_database 

Source
pub async fn spawn_database(
    supervisor_cell: ActorCell,
    child_id: String,
    storage_path: PathBuf,
) -> Result<ActorCell, SpawnErr>
Expand description

Spawn the Database actor

Returns an ActorCell for the supervisor to manage.