Member Junction
    Preparing search index...

    Registry that maps compound keys (BaseClassName::Key) to the chunk that provides them.

    Wired to ClassFactory via WireToClassFactory() so that any GetRegistrationAsync() or CreateInstanceAsync() call that misses synchronously will automatically trigger the correct lazy chunk load. This replaces the previous pattern where individual components (ResourceContainerComponent, TabContainerComponent, etc.) each had their own retry logic.

    Index

    Constructors

    Methods

    • Read-only snapshot of the registry state — for diagnostic tools. Groups compound keys by chunkId so inspectors can show "X chunks, Y loaded" plus the keys covered by each.

      Returns {
          chunks: { chunkId: string; keys: string[]; loaded: boolean }[];
          loaded: string[];
          loadedChunkCount: number;
          registered: string[];
      }

      • chunks: { chunkId: string; keys: string[]; loaded: boolean }[]
      • loaded: string[]
      • loadedChunkCount: number

        How many chunks have finished loading. The total is chunks.length.

      • registered: string[]
    • Attempt to lazy-load the chunk for a given compound key. Returns true if the key was found in the registry and loaded. Deduplicates concurrent loads of the same chunk.

      Parameters

      • compoundKey: string

        Format: "BaseClassName::Key" (e.g., "BaseResourceComponent::HomeDashboard")

      Returns Promise<boolean>

    • Wires this registry to ClassFactory as a lazy loader. After calling this, any ClassFactory.GetRegistrationAsync() or CreateInstanceAsync() that fails to find a registration synchronously will call back into this registry with the compound key (baseClassName::key) to trigger lazy loading.

      Returns void