levelcache/ts/levelcache.classes.cacherouter.ts
2020-02-15 22:38:28 +00:00

22 lines
505 B
TypeScript

import * as plugins from './levelcache.plugins';
import { LevelCache } from './levelcache.classes.levelcache';
export class CacheRouter {
public levelCacheRef: LevelCache;
public cacheMap;
constructor(levelCacheRef: LevelCache) {
this.levelCacheRef = levelCacheRef;
}
/**
* gets the relevant cache to perform a store action on
*/
async getCacheForStoreAction() {}
/**
* gets the relevant cache to perform a retrieval action on
*/
async getCacheForRetrieveAction() {}
}