Scenic v0.9.0 Scenic.Cache.Supervisor View Source
The various Scenic rendering engines do use the callbacks for texture and font management, so you are probably best off using this supervisor…
You can absolutely run the Scenic.Cache genserver directly from your own supervisor and skip this one if you want. However, if you want to hook in to callbacks on put/claim/release, then you need to start up this supervisor, which manages both the cache and the callback registry.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Callback invoked to start the supervisor and during hot code upgrades
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Callback invoked to start the supervisor and during hot code upgrades.
Developers typically invoke Supervisor.init/2
at the end of their
init callback to return the proper supervision flags.
Callback implementation for Supervisor.init/1
.