Skip to main content

Launcher

Type Alias Launcher 

Source
pub type Launcher = Box<dyn FnMut() -> Result<OwnedChild> + Send>;
Expand description

Starts the host. Called with the cross-process claim held, at most once per start. The child it returns is owned by the lifecycle from then on; the app configures the command, including how it detaches.

Aliased Typeยง

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