Skip to main content
Deno 2 is finally 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@v2.0.0/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[])