@eagleoutice/flowr - v2.13.14
    Preparing search index...

    Read-only gas context exposed via ctx.gas.

    interface ReadOnlyFlowrAnalyzerGasContext {
        checkGas(key: string): GasLevel;
        name: string;
        scope(overrides?: GasOverrides): ReadOnlyFlowrAnalyzerGasContext;
    }

    Hierarchy (View Summary)

    Index
    name: string
    • Returns the resource-pressure level for key (config.gas.features[key]). Returns GasLevel.Normal with zero overhead when the feature factor is 0 or absent and no gas plugins are registered (plugins are always consulted and may escalate any key).

      Measured from the start of the enclosing contingent, against the thresholds configured for key (see GasThresholdSpec), not one allowance shared by everything the analyzer does.

      Parameters

      • key: string

      Returns GasLevel