Skip to main content

spawn_loopback_server

Function spawn_loopback_server 

Source
pub fn spawn_loopback_server(
    port: u16,
    dev: bool,
    vault: Arc<Mutex<KeyVault>>,
    token: Option<String>,
) -> Arc<WebizenState> ⓘ
Expand description

Build WebizenState from qualia_global.wal (type index scan), then spawn the axum server on a dedicated thread pinned to core 3 with a current-thread tokio runtime. Returns the shared state.