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

    Base class for gas plugins, queried on-demand by FlowrAnalyzerGasContext.checkGas.

    Override process to provide a custom resource-pressure assessment for a feature key. Return undefined to defer to the built-in memory and time checks. Multiple Gas plugins are combined by taking the maximum (GasLevel) returned by any plugin or by the built-in checks.

    A gas plugin is the right place to add domain-specific checks (e.g., CPU, I/O, quota limits) or to override default behavior for testing by returning a hardcoded level.

    Hierarchy (View Summary)

    Hierarchy-Diagram

    UML class diagram of FlowrAnalyzerGasPlugin
    Index

    Constructors

    Properties

    description: string

    A short description of what the plugin does.

    name: string

    A unique, human-readable name of the plugin.

    type: Gas = PluginType.Gas

    The type of the plugin, determining when and for what purpose it is applied during the analysis.

    version: SemVer

    The version of the plugin, ideally following semver.

    Methods