Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 643 Bytes

README.org

File metadata and controls

17 lines (11 loc) · 643 Bytes

This is a Butter Cache Provider base class.

if you want to find more info on Butter Providers and Butter Cache Providers check the Butter Provider Docs.

CacheProvider.prototype.fetchFromDB

takes the same arguments as Butter Provider’s fetch()

CacheProvider.prototype.updateFetch

gets called with the results from a Butter Provider’s fetch()

CacheProvider.prototype.detailFromDB

takes the same arguments as Butter Provider’s detail()

CacheProvider.prototype.updateDetail

gets called with the results from a Butter Provider’s detail()