Skip to main content

DefaultAssetImportStrategy

DefaultAssetImportStrategy

The DefaultAssetImportStrategy is able to import paths from the local filesystem (taking into account the importExportOptions.importAssetsDir setting) as well as remote http/https urls.

Signature
class DefaultAssetImportStrategy implements AssetImportStrategy {
constructor(options?: {
retryDelayMs: number;
retryCount: number;
})
init(injector: Injector) => ;
getStreamFromPath(assetPath: string) => ;
}

constructor

method
(options?: { retryDelayMs: number; retryCount: number; }) => DefaultAssetImportStrategy

init

method
(injector: Injector) =>

getStreamFromPath

method
(assetPath: string) =>