Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/oak_nest/modules/cache/src/lru/types.ts>Options

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
type alias Options
import { type Options } from "https://deno.land/x/oak_nest@v3.0.1/modules/cache/src/lru/types.ts";
definition: { max: number; ttl: number; ttlResolution?: number; ttlAutopurge?: boolean; allowStale?: boolean; updateAgeOnGet?: boolean; noDeleteOnStaleGet?: boolean; updateAgeOnHas?: boolean; dispose?: Disposer<K, V>; disposeAfter?: Disposer<K, V>; noDisposeOnSet?: boolean; fetchMethod?: Fetcher<K, V>; noDeleteOnFetchRejection?: boolean; fetchContext?: any; noUpdateTTL?: boolean; maxSize: number; sizeCalculation?: SizeCalculator<K, V>; }