Skip to main content

agent_id_from_env

Function agent_id_from_env 

Source
pub(crate) fn agent_id_from_env<'a>(
    lookup: impl Fn(&str) -> Option<&'a str>,
) -> Option<String>
Expand description

The agent id an env map names: AGENTMUX_AGENT_ID, else the legacy WAVEMUX_AGENT_ID, trimmed, skipping blank values.