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>Fetcher

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
type alias Fetcher
import { type Fetcher } from "https://deno.land/x/oak_nest@v3.0.1/modules/cache/src/lru/types.ts";
definition: (
key: K,
staleValue: V,
options: FetcherOptions<K, V>,
) =>
| Promise<V | void | undefined>
| V
| void
| undefined