pub fn ask_env<Env>() -> Ask<AnalysisError, Env>Expand description
Query the entire environment.
This is a low-level helper that returns a clone of the entire environment.
Prefer using asks_config or the specific query helpers when you only
need config access.
§Example
ⓘ
use debtmap::effects::ask_env;
fn get_full_env<Env>() -> impl Effect<Output = Env, Error = AnalysisError, Env = Env>
where
Env: AnalysisEnv + Clone + Send + Sync,
{
ask_env()
}