Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oak_nest/modules/cache/src/cache.interceptor.ts>CacheInterceptor

Refer to nestjs to realize some common functions for Deno
Go to Latest
class CacheInterceptor
implements NestInterceptor
import { CacheInterceptor } from "https://deno.land/x/oak_nest@v1.15.1/modules/cache/src/cache.interceptor.ts";

Constructors

new
CacheInterceptor(cacheModuleOptions?: CacheModuleOptions)

Properties

optional
customCache: ICacheStore
optional
defaultStore: string
optional
isDebug: boolean
optional
localCache: LocalStore
lruCache: LRU<string, unknown>
policy: CachePolicy
ttl: number

Methods

init(cacheModuleOptions?: CacheModuleOptions)
intercept(
context: Context,
next: Next,
)
joinArgs(args: any[])