@quell/server
Version:
Quell is an open-source NPM package providing a light-weight caching layer implementation and cache invalidation for GraphQL responses on both the client- and server-side. Use Quell to prevent redundant client-side API requests and to minimize costly serv
14 lines • 717 B
TypeScript
import type { WriteCacheConfig, WriteToCacheFunction, UpdateIdCacheFunction } from "../types/writeCacheTypes";
/**
* Creates a writeToCache function with the provided configuration
* @param config - Configuration object containing Redis cache and expiration settings
* @returns Bound writeToCache function
*/
export declare function createWriteToCache(config: WriteCacheConfig): WriteToCacheFunction;
/**
* Creates an updateIdCache function with the provided configuration
* @param config - Configuration object containing ID cache
* @returns Bound updateIdCache function
*/
export declare function createUpdateIdCache(config: WriteCacheConfig): UpdateIdCacheFunction;
//# sourceMappingURL=writeCache.d.ts.map