Type alias AssetLoader

AssetLoader: ((request) => Promise<AssetResponse> | AssetResponse)

An AssetLoader is used to retrieve assets. A separate loader may be defined to retrieve different asset types.

Type declaration

Returns

A promise that resolves to an AssetResponse for asynchronous loading, or an AssetResponse directly for synchronous operations.

Generated using TypeDoc