Class EsNameRegistry

Name registry used to reserve names in order to make them unique.

Hierarchy

  • EsNameRegistry

Constructors

Accessors

Methods

Constructors

Accessors

Methods

  • Reserves name and resolves naming conflicts.

    Tries to use preferred name. But if this name registered already, then appends unique suffix to it to resolve the conflict.

    Parameters

    • preferred: string = 'tmp'

      Preferred name. Defaults to tmp.

    Returns string

    Reserved and conflict-free name based on preferred one.

Generated using TypeDoc