Skip to main content

spawn

Function spawn 

Source
pub async fn spawn(ctx: &Context) -> Result<String, Error>
Expand description

The spawn flow itself, callable in-process (used by Context::db_client() as well as the db spawn command). Idempotent and cheap when the cluster is already up: a try_read of the lock returns the published postgresql:// URL without spawning.