with-simple-caching
Version:
A wrapper that makes it simple to add caching to any function
9 lines (8 loc) • 901 B
TypeScript
export { SimpleCache, SimpleAsyncCache, SimpleSyncCache, } from './domain/SimpleCache';
export { WithSimpleCachingCacheOption, SimpleCacheExtractionMethod, } from './logic/options/getCacheFromCacheOption';
export { KeySerializationMethod, defaultKeySerializationMethod, defaultValueDeserializationMethod, defaultValueSerializationMethod, } from './logic/serde/defaults';
export { WithSimpleCachingOptions, withSimpleCaching, } from './logic/wrappers/withSimpleCaching';
export { WithSimpleCachingAsyncOptions, withSimpleCachingAsync, } from './logic/wrappers/withSimpleCachingAsync';
export { withExtendableCaching, LogicWithExtendableCaching, } from './logic/wrappers/withExtendableCaching';
export { withExtendableCachingAsync, LogicWithExtendableCachingAsync, } from './logic/wrappers/withExtendableCachingAsync';
export { withSimpleCachingOnDisk } from './logic/wrappers/withSimpleCachingOnDisk';