[][src]Function lair_keystore_client::assert_running_lair_and_connect

pub async fn assert_running_lair_and_connect(
    config: Arc<Config>
) -> LairResult<(GhostSender<LairClientApi>, LairClientEventReceiver)>

If a lair executable is already running, connect to it. If it is not, attempt to run and disown one into the background. Note, it is still preferable for lair to be executed / managed as a system service, but this provides a quick up-and-running experience.