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::viewer_client() as well as the viewer spawn command). Idempotent and cheap when the viewer is already up: a try_read of the lock returns the published URL without spawning.