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/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.14.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[])