Interface LoadAssetRequest

Represents a request for loading assets through AssetLoader. This object specifies the asset to be loaded, optionally defines the lens context, includes an asset manifest if available, and indicates the priority of the load.

interface LoadAssetRequest {
    assetDescriptor: AssetDescriptor;
    lens: undefined | Lens;
    assetManifest: LensAssetManifestItem[];
    lowPriority: boolean;
}

Properties

assetDescriptor: AssetDescriptor

Describes the asset to be loaded.

lens: undefined | Lens

Specifies the lens context for the asset load, if applicable.

assetManifest: LensAssetManifestItem[]

Lens asset manifest.

lowPriority: boolean

Indicates whether the asset fetch should be treated with lower priority compared to other network requests on the page. When set to true, this request may be deferred in favor of higher-priority traffic, potentially improving overall page responsiveness and load times for critical assets.

MMNEPVFCICPMFPCPTTAAATR