Skip to content

Commit

Permalink
Update BaseCacheManager.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Starman3787 committed Aug 22, 2024
1 parent cc4dabc commit f902145
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/managers/BaseCacheManager.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
import hashjs from "hash.js";
import { GLUON_VERSION, NAME, TO_JSON_TYPES_ENUM } from "../constants.js";

/**
* The base cache manager for all cache managers.
*/
class BaseCacheManager {
#cache;
#expiryBucket;
#structureType;
static rules = {};

/**
* Creates a cache manager.
* @param {Client} client The client instance.
* @param {Object} options The options for the cache manager.
* @param {Object} options.structureType The structure type for the cache manager.
* @throws {TypeError}
* @public
* @constructor
*/
constructor(client, { structureType } = {}) {
/**
* The cache for this manager.
Expand Down

0 comments on commit f902145

Please sign in to comment.