Documentation
    Preparing search index...

    Class AssetLoaderRegistry

    Named AssetLoader table for §81's "asset formats" point.

    Map preserves insertion order, which is the order names reports (§33).

    Index
    • get names(): readonly string[]

      Registered names, in insertion order.

      Returns readonly string[]

    • Whether name has a loader.

      Parameters

      • name: string

      Returns boolean

    • Registers loader under name. Returns this so registrations chain.

      Parameters

      Returns this

      FourError INVALID_APPLICATION_STATE if name is empty, or if a different loader already occupies that name.