Create a new instance of a LocalAsset.
An array of blobs alongside their keys that can be served by this asset. Most involved classes have their own AssetKey* enum to define possible asset keys.
Get a component of this asset associated with the specified key. Returns a blob incase the component is available, otherwise it will throw an error. This is the entrypoint from which components are requested for local purposes. (aka. when no compute server is involved.)
A promise that resolves to the components blob.
The key that the component is associated with.
Generated using TypeDoc
Concrete implementation of IAsset for assets that are stored in memory.