API ReferenceGlobalsAssetLoader

# Class: AssetLoader

# Hierarchy

  • AssetLoader

# Index

# Constructors

# Methods

# Constructors

# constructor

+ new AssetLoader(networkLayer: NetworkLayer): AssetLoader

Defined in packages/workers/src/asset-loader.ts:7

Parameters:

Name Type
networkLayer NetworkLayer

Returns: AssetLoader

# Methods

# loadAsset

loadAsset(url: string): Promise‹unknown›

Defined in packages/workers/src/asset-loader.ts:13

Parameters:

Name Type
url string

Returns: Promise‹unknown›