Skip to main content

wait_engine

Function wait_engine 

Source
pub fn wait_engine(mgmt_base: &str, timeout: Duration) -> bool
Expand description

Poll GET /engine/info until the engine answers or the deadline passes — a freshly spawned engine needs a moment to bind its management port and learn its identity before it can accept a publish.