@camunda8/orchestration-cluster-api
    Preparing search index...

    Class VariableCollector

    Incrementally collapses paged variable items into a parsed name-to-value map.

    Memory stays bounded by the DTO shape rather than the total number of paged items: only the first value seen per requested name is retained, alongside the set of scope keys observed for that name (used for collision detection). Items for undeclared variables are dropped, so large values for variables outside the DTO are never accumulated.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parse retained values, raising on scope collisions or malformed JSON.

      Returns Record<string, unknown>

      when a name was observed at more than one scope.

      when a retained value is not valid JSON.