Skip to main content

analyze_feature_flags_with_session

Function analyze_feature_flags_with_session 

Source
pub fn analyze_feature_flags_with_session(
    session: &AnalysisSession,
) -> EngineResult<FeatureFlagsAnalysis>
Expand description

Run feature flag analysis with a reusable analysis session.

§Errors

Returns crate::EngineError::cancelled when the session’s caller cancelled the run. The scan spends its time in the parse loop and in the dead-code correlation behind it, and both observe the token. A session without a cancellation token can never return this error.