/opt/canhelp/node_modules/next/dist/server/use-cache
NameSizeModeActions
cache-life.d.ts3000644editdlrm
cache-life.js77670644editdlrm
cache-life.js.map99760644editdlrm
cache-tag.d.ts590644editdlrm
cache-tag.js16860644editdlrm
cache-tag.js.map19470644editdlrm
constants.d.ts1010644editdlrm
constants.js6640644editdlrm
constants.js.map4070644editdlrm
handlers.d.ts13840644editdlrm
handlers.js48390644editdlrm
handlers.js.map73960644editdlrm
use-cache-errors.d.ts2960644editdlrm
use-cache-errors.js11590644editdlrm
use-cache-errors.js.map12940644editdlrm
use-cache-wrapper.d.ts5710644editdlrm
use-cache-wrapper.js671140644editdlrm
use-cache-wrapper.js.map919600644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/server/use-cache/handlers.d.ts (1384B)
import type { CacheHandlerCompat } from '../lib/cache-handlers/types'; /** * Initialize the cache handlers. * @returns `true` if the cache handlers were initialized, `false` if they were already initialized. */ export declare function initializeCacheHandlers(): boolean; /** * Get a cache handler by kind. * @param kind - The kind of cache handler to get. * @returns The cache handler, or `undefined` if it does not exist. * @throws If the cache handlers are not initialized. */ export declare function getCacheHandler(kind: string): CacheHandlerCompat | undefined; /** * Get a set iterator over the cache handlers. * @returns An iterator over the cache handlers, or `undefined` if they are not * initialized. */ export declare function getCacheHandlers(): SetIterator | undefined; /** * Get a map iterator over the cache handlers (keyed by kind). * @returns An iterator over the cache handler entries, or `undefined` if they * are not initialized. * @throws If the cache handlers are not initialized. */ export declare function getCacheHandlerEntries(): MapIterator<[string, CacheHandlerCompat]> | undefined; /** * Set a cache handler by kind. * @param kind - The kind of cache handler to set. * @param cacheHandler - The cache handler to set. */ export declare function setCacheHandler(kind: string, cacheHandler: CacheHandlerCompat): void;