View Source Phoenix.React.Cache (Phoenix.React v0.1.0)
A simple ETS based cache for expensive function calls.
Summary
Functions
Returns a specification to start this module under a supervisor.
Remove cached value
Retrieve a cached value or apply the given function caching and returning the result.
Callback implementation for GenServer.init/1
.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Remove cached value
Retrieve a cached value or apply the given function caching and returning the result.
Callback implementation for GenServer.init/1
.