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

    Read-only gas context exposed via ctx.gas.

    interface ReadOnlyFlowrAnalyzerGasContext {
        checkGas(key: string): GasLevel;
        name: string;
    }

    Implemented by

    Index

    Properties

    Methods

    Properties

    name: string

    Methods

    • 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).

      Parameters

      • key: string

      Returns GasLevel