Class
: An asset is a resource that is loaded asynchronously.
It can be a sprite, a sound, a font, a shader, etc.
static (data: D)
=> Asset<D> : ( () => void) | undefined (action: (data: D) => void)
=> this (action: (err: Error) => void)
=> this (action: () => void)
=> this (action: (data: D) => void)
=> Asset<D> (action: (err: Error) => void)
=> Asset<D> (action: () => void)
=> Asset<D>