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) => ;
}
Implements
Members
constructor
method
type:
(options?: { retryDelayMs: number; retryCount: number; }) => DefaultAssetImportStrategy
init
method
type:
(injector: Injector) =>
getStreamFromPath
method
type:
(assetPath: string) =>