Skip to main content

spawn_local_api

Function spawn_local_api 

Source
pub fn spawn_local_api(
    cfg: SharedConfig,
    observers: WorkerObservers,
    stop: Arc<AtomicBool>,
) -> Option<JoinHandle<()>>
Expand description

Build the engine + catalog and start the local image API server on a background thread. Returns the thread handle, or None when it could not start (logged, non-fatal — the studio session keeps running).