waltervargas / butter-cache-provider

Base class for butter cache providers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Base class for butter cache providers


Languages

Language:JavaScript 100.0%