UNPKG

mastercache

Version:

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

38 lines (35 loc) 1.32 kB
import { E as Emitter } from '../../events-CkqPK7En.js'; import * as typescript_log from 'typescript-log'; import { Factory } from '../types/helpers.js'; import { CacheStack } from './stack/cache-stack.js'; import { CacheStackWriter } from './stack/cache-stack-writer.js'; import { CacheEntryOptions } from './cache-entry/cache-entry-options.js'; import '../types/bus.js'; import '@boringnode/bus/types/main'; import '../bus/bus.js'; import './facades/local-cache.js'; import './cache-entry/cache-entry.js'; import '../../mastercache-Di19srNZ.js'; import '../types/driver.js'; import '../types/provider.js'; import '../types/options/methods-options.js'; import '../types/options/options.js'; import '../types/options/drivers-options.js'; import 'knex'; import 'kysely'; import '@aws-sdk/client-dynamodb'; import 'ioredis'; import 'orchid-orm'; import './facades/remote-cache.js'; import '../drivers/base-driver.js'; import '../mastercache-options.js'; 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 };