Scenic.Assets.Static.fetch
You're seeing just the function
fetch
, go back to Scenic.Assets.Static module for more information.
Specs
Fetch the metadata for an asset by id.
Return is in the form of {:ok, metadata}
If the hash is not in the library, :error
is returned.
Example:
{:ok, meta} = Scenic.Assets.Static.fetch( :parrot )