UNPKG

with-simple-caching

Version:

A wrapper that makes it simple to add caching to any function

18 lines 2.15 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.withSimpleCachingOnDisk = exports.withExtendableCachingAsync = exports.withExtendableCaching = exports.withSimpleCachingAsync = exports.withSimpleCaching = exports.defaultValueSerializationMethod = exports.defaultValueDeserializationMethod = exports.defaultKeySerializationMethod = void 0; var defaults_1 = require("./logic/serde/defaults"); Object.defineProperty(exports, "defaultKeySerializationMethod", { enumerable: true, get: function () { return defaults_1.defaultKeySerializationMethod; } }); Object.defineProperty(exports, "defaultValueDeserializationMethod", { enumerable: true, get: function () { return defaults_1.defaultValueDeserializationMethod; } }); Object.defineProperty(exports, "defaultValueSerializationMethod", { enumerable: true, get: function () { return defaults_1.defaultValueSerializationMethod; } }); var withSimpleCaching_1 = require("./logic/wrappers/withSimpleCaching"); Object.defineProperty(exports, "withSimpleCaching", { enumerable: true, get: function () { return withSimpleCaching_1.withSimpleCaching; } }); var withSimpleCachingAsync_1 = require("./logic/wrappers/withSimpleCachingAsync"); Object.defineProperty(exports, "withSimpleCachingAsync", { enumerable: true, get: function () { return withSimpleCachingAsync_1.withSimpleCachingAsync; } }); var withExtendableCaching_1 = require("./logic/wrappers/withExtendableCaching"); Object.defineProperty(exports, "withExtendableCaching", { enumerable: true, get: function () { return withExtendableCaching_1.withExtendableCaching; } }); var withExtendableCachingAsync_1 = require("./logic/wrappers/withExtendableCachingAsync"); Object.defineProperty(exports, "withExtendableCachingAsync", { enumerable: true, get: function () { return withExtendableCachingAsync_1.withExtendableCachingAsync; } }); var withSimpleCachingOnDisk_1 = require("./logic/wrappers/withSimpleCachingOnDisk"); Object.defineProperty(exports, "withSimpleCachingOnDisk", { enumerable: true, get: function () { return withSimpleCachingOnDisk_1.withSimpleCachingOnDisk; } }); //# sourceMappingURL=index.js.map