An asset is a resource that is loaded asynchronously.loaded<D>(data: D): Asset<D>
data: D | null
error: Error | null
onLoad(action: (data: D)=>void): Bug parsing ThisType
onError(action: (err: Error)=>void): Bug parsing ThisType
onFinish(action: ()=>void): Bug parsing ThisType
then(action: (data: D)=>void): Asset<D>
catch(action: (err: Error)=>void): Asset<D>
finally(action: ()=>void): Asset<D>