Skip to main content

Prepare

Type Alias Prepare 

Source
pub type Prepare = Box<dyn Fn(&dyn Fn() -> bool) -> Result<Start, String> + Send + Sync>;
Expand description

Works out how to start it; its argument says the start was called off (the backend stopped), so a long preparation (a venv build) can give up.

Aliased Typeยง

pub struct Prepare(/* private fields */);