UNPKG

mastercache

Version:

Multi-tier cache module for Node.js. Redis, Upstash, CloudfareKV, File, in-memory and others drivers

38 lines (35 loc) 1.34 kB
import { E as Emitter } from '../../events-BJQnbTp3.cjs'; import * as typescript_log from 'typescript-log'; import { Factory } from '../types/helpers.cjs'; import { CacheStack } from './stack/cache-stack.cjs'; import { CacheStackWriter } from './stack/cache-stack-writer.cjs'; import { CacheEntryOptions } from './cache-entry/cache-entry-options.cjs'; import '../types/bus.cjs'; import '@boringnode/bus/types/main'; import '../bus/bus.cjs'; import './facades/local-cache.cjs'; import './cache-entry/cache-entry.cjs'; import '../../mastercache-CD6UEBYT.cjs'; import '../types/driver.cjs'; import '../types/provider.cjs'; import '../types/options/methods-options.cjs'; import '../types/options/options.cjs'; import '../types/options/drivers-options.cjs'; import 'knex'; import 'kysely'; import '@aws-sdk/client-dynamodb'; import 'ioredis'; import 'orchid-orm'; import './facades/remote-cache.cjs'; import '../drivers/base-driver.cjs'; import '../mastercache-options.cjs'; declare class GetSetHandler { #private; protected stack: CacheStack; protected stackWriter: CacheStackWriter; constructor(stack: CacheStack, stackWriter: CacheStackWriter); get logger(): typescript_log.Logger; get emitter(): Emitter; handle(key: string, factory: Factory, options: CacheEntryOptions): Promise<any>; } export { GetSetHandler };