Skip to main content

spawn

Function spawn 

Source
pub async fn spawn(opts: SpawnOptions) -> Result<Option<SsrChild>, Error>
Expand description

Inspect the manifest; if it has any SSR route, boot an SsrRuntime, pre- load each route’s render_entrypoint, and return a SsrChild handle. Returns Ok(None) when no SSR routes are declared — the caller serves static only.