@kayahr/cdi
    Preparing search index...

    Variable Scope

    Scope: { PROTOTYPE: 1; SINGLETON: 0 }

    The supported injection scopes.

    Type Declaration

    • ReadonlyPROTOTYPE: 1

      A new instance is created on every injection.

    • ReadonlySINGLETON: 0

      A single instance of the dependency is created and then cached. So the same instance of the dependency is injected everywhere.