0.0.1 • Published 7 years ago

butter-cache-provider v0.0.1

Weekly downloads
4
License
GPL-3.0
Repository
github
Last release
7 years ago

This is a [https://github.com/butterproject] Cache Provider base class.

if you want to find more info on Butter Providers and Butter Cache Providers check the [https://github.com/butterproject/butter-provider].

  • 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()