View Source Hologram.Assets.ManifestCache behaviour (hologram v0.2.0)
Summary
Callbacks
Returns the key of the persistent term used by the asset manifest cache registered process.
Functions
Returns a specification to start this module under a supervisor.
Returns JavaScript code that builds the asset manifest object.
Returns the implementation of the asset manifest cache's persistent term key.
Reloads the the manifest cache data.
Starts asset manifest cache process.
Callbacks
@callback persistent_term_key() :: any()
Returns the key of the persistent term used by the asset manifest cache registered process.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec get_manifest_js() :: String.t()
Returns JavaScript code that builds the asset manifest object.
@spec persistent_term_key() :: any()
Returns the implementation of the asset manifest cache's persistent term key.
@spec reload() :: :ok
Reloads the the manifest cache data.
@spec start_link(keyword()) :: GenServer.on_start()
Starts asset manifest cache process.