Skip to main content
Module

x/memoizy/mod.ts>MemoizyOptions

Powerful memoization library for deno
Latest
interface MemoizyOptions
import { type MemoizyOptions } from "https://deno.land/x/memoizy@1.0.0/mod.ts";

Type Parameters

optional
TResult = any

Properties

optional
cache: () => GenericCache<string, TResult>
optional
maxAge: number
optional
cacheKey: (...args: any[]) => string
optional
valueAccept: null | ((err: Error | null, res?: TResult) => boolean)