Skip to main content

run_blocking

Function run_blocking 

Source
pub fn run_blocking(bind: &str, open: bool, preload: Preload) -> Result<()>
Expand description

Synchronous helper used by main.rs. Builds a current-thread Tokio runtime, starts the server, optionally opens the browser, and blocks until ctrl-c.