Add a reference to the resource.
The object to strongly hold the resource.
This does not follow the standard listener pattern and is only called once.
Delete a reference to the resource.
An optional name for the resource.
The mimetype of the resource.
true
if the resource if all references have been deleted.
Returns the resource as a Promise to array buffer.
For saving to json resources.
A resource is an item referenced elsewhere with the application. This will track when a resource is no longer being used and can be removed.